[Kde-bindings] KDE/kdebindings/csharp/nepomuk
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Wed Nov 12 20:32:37 UTC 2008
SVN commit 883394 by rdale:
* Add the classes for the new Nepomuk Query Service
CCMAIL: kde-bindings at kde.org
A nepomuk/Nepomuk.cs
A nepomuk/Nepomuk_Middleware.cs
M +1 -1 nepomuk/Nepomuk_Resource.cs
A nepomuk/Nepomuk_Search.cs
A nepomuk/Nepomuk_Search_Query.cs
A nepomuk/Nepomuk_Search_QueryParser.cs
A nepomuk/Nepomuk_Search_QueryServiceClient.cs
A nepomuk/Nepomuk_Search_Result.cs
A nepomuk/Nepomuk_Search_Term.cs
M +29 -0 src/nepomukhandlers.cpp
--- trunk/KDE/kdebindings/csharp/nepomuk/nepomuk/Nepomuk_Resource.cs #883393:883394
@@ -259,7 +259,7 @@
/// <remarks>
/// Get or create the PIMO thing that relates to this resource. If this resource
/// itself is a pimo:Thing, a reference to this is returned. If a pimo:Thing exists
- /// with has as occurence this resource, the thing is returned. Otherwise a new thing
+ /// with has as occurrence this resource, the thing is returned. Otherwise a new thing
/// is created.
/// \since 4.2
/// </remarks> <short> Get or create the PIMO thing that relates to this resource.</short>
--- trunk/KDE/kdebindings/csharp/nepomuk/src/nepomukhandlers.cpp #883393:883394
@@ -19,8 +19,37 @@
#include <smokeqyoto.h>
#include <marshall_macros.h>
+#include <nepomuk/class.h>
+#include <nepomuk/property.h>
+#include <nepomuk/query.h>
+#include <nepomuk/queryserviceclient.h>
+#include <nepomuk/resource.h>
+#include <nepomuk/result.h>
+#include <nepomuk/tag.h>
+#include <nepomuk/term.h>
+#include <nepomuk/variant.h>
+DEF_VALUELIST_MARSHALLER( NepomukResourceList, QList<Nepomuk::Resource>, Nepomuk::Resource )
+DEF_VALUELIST_MARSHALLER( NepomukTagList, QList<Nepomuk::Tag>, Nepomuk::Tag )
+DEF_VALUELIST_MARSHALLER( NepomukSearchResultList, QList<Nepomuk::Search::Result>, Nepomuk::Search::Result )
+DEF_VALUELIST_MARSHALLER( NepomukSearchTermList, QList<Nepomuk::Search::Term>, Nepomuk::Search::Term )
+DEF_VALUELIST_MARSHALLER( NepomukTypesClassList, QList<Nepomuk::Types::Class>, Nepomuk::Types::Class )
+DEF_VALUELIST_MARSHALLER( NepomukTypesPropertyList, QList<Nepomuk::Types::Property>, Nepomuk::Types::Property )
TypeHandler Nepomuk_handlers[] = {
+ { "QList<Nepomuk::Resource>", marshall_NepomukResourceList },
+ { "QList<Nepomuk::Resource>&", marshall_NepomukResourceList },
+ { "QList<Nepomuk::Tag>", marshall_NepomukTagList },
+ { "QList<Nepomuk::Tag>&", marshall_NepomukTagList },
+ { "QList<Nepomuk::Search::Result>", marshall_NepomukSearchResultList },
+ { "QList<Nepomuk::Search::Result>&", marshall_NepomukSearchResultList },
+ { "QList<Nepomuk::Search::Term>", marshall_NepomukSearchTermList },
+ { "QList<Nepomuk::Search::Term>&", marshall_NepomukSearchTermList },
+ { "QList<Nepomuk::Types::Class>", marshall_NepomukTypesClassList },
+ { "QList<Nepomuk::Types::Class>&", marshall_NepomukTypesClassList },
+ { "QList<Nepomuk::Types::Property>", marshall_NepomukTypesPropertyList },
+ { "QList<Nepomuk::Types::Property>&", marshall_NepomukTypesPropertyList },
+// { "QHash<QUrl,Nepomuk::Variant>", marshall_QHashQUrlNepomukVariant },
{ 0, 0 }
};
+
More information about the Kde-bindings
mailing list