Nepomuk-Core
datamanagementinterface.h
Go to the documentation of this file.
3 * Command line was: qdbusxml2cpp -m -i dbustypes.h -p datamanagementinterface /home/trueg/kde/dev/kde/src/kde-runtime/nepomuk/interfaces/org.kde.nepomuk.DataManagement.xml
9 * It contains one small change: it is derived from AbstractTimeoutDbusInterface instead of QDBusAbstractInterface and uses a big timeout.
42 OrgKdeNepomukDataManagementInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
47 inline QDBusPendingReply<> addProperty(const QString &resource, const QString &property, const QDBusVariant &value, const QString &app)
50 argumentList << qVariantFromValue(resource) << qVariantFromValue(property) << qVariantFromValue(value) << qVariantFromValue(app);
54 inline QDBusPendingReply<> addProperty(const QStringList &resources, const QString &property, const QVariantList &values, const QString &app)
57 argumentList << qVariantFromValue(resources) << qVariantFromValue(property) << qVariantFromValue(values) << qVariantFromValue(app);
61 inline QDBusPendingReply<QString> createResource(const QString &type, const QString &label, const QString &description, const QString &app)
64 argumentList << qVariantFromValue(type) << qVariantFromValue(label) << qVariantFromValue(description) << qVariantFromValue(app);
65 return asyncCallWithArgumentList(QLatin1String("createResource"), argumentList, s_defaultTimeout);
68 inline QDBusPendingReply<QString> createResource(const QStringList &types, const QString &label, const QString &description, const QString &app)
71 argumentList << qVariantFromValue(types) << qVariantFromValue(label) << qVariantFromValue(description) << qVariantFromValue(app);
72 return asyncCallWithArgumentList(QLatin1String("createResource"), argumentList, s_defaultTimeout);
75 inline QDBusPendingReply<QList<Nepomuk2::SimpleResource> > describeResources(const QStringList &resources, int flags, const QStringList &targetParties)
78 argumentList << qVariantFromValue(resources) << qVariantFromValue(flags) << qVariantFromValue(targetParties);
79 return asyncCallWithArgumentList(QLatin1String("describeResources"), argumentList, s_defaultTimeout);
82 inline QDBusPendingReply<> importResources(const QString &url, const QString &serialization, int identificationMode, int flags, const QString &app)
85 argumentList << qVariantFromValue(url) << qVariantFromValue(serialization) << qVariantFromValue(identificationMode) << qVariantFromValue(flags) << qVariantFromValue(app);
86 return asyncCallWithArgumentList(QLatin1String("importResources"), argumentList, s_defaultTimeout);
89 inline QDBusPendingReply<> importResources(const QString &url, const QString &serialization, int identificationMode, int flags, Nepomuk2::PropertyHash additionalMetadata, const QString &app)
92 argumentList << qVariantFromValue(url) << qVariantFromValue(serialization) << qVariantFromValue(identificationMode) << qVariantFromValue(flags) << qVariantFromValue(additionalMetadata) << qVariantFromValue(app);
93 return asyncCallWithArgumentList(QLatin1String("importResources"), argumentList, s_defaultTimeout);
96 inline QDBusPendingReply<> mergeResources(const QString &resource1, const QString &resource2, const QString &app)
99 argumentList << qVariantFromValue(resource1) << qVariantFromValue(resource2) << qVariantFromValue(app);
100 return asyncCallWithArgumentList(QLatin1String("mergeResources"), argumentList, s_defaultTimeout);
107 return asyncCallWithArgumentList(QLatin1String("mergeResources"), argumentList, s_defaultTimeout);
114 return asyncCallWithArgumentList(QLatin1String("removeDataByApplication"), argumentList, s_defaultTimeout);
117 inline QDBusPendingReply<> removeDataByApplication(const QStringList &resources, int flags, const QString &app)
120 argumentList << qVariantFromValue(resources) << qVariantFromValue(flags) << qVariantFromValue(app);
121 return asyncCallWithArgumentList(QLatin1String("removeDataByApplication"), argumentList, s_defaultTimeout);
124 inline QDBusPendingReply<> removeProperties(const QString &resource, const QString &property, const QString &app)
127 argumentList << qVariantFromValue(resource) << qVariantFromValue(property) << qVariantFromValue(app);
128 return asyncCallWithArgumentList(QLatin1String("removeProperties"), argumentList, s_defaultTimeout);
131 inline QDBusPendingReply<> removeProperties(const QStringList &resources, const QStringList &properties, const QString &app)
134 argumentList << qVariantFromValue(resources) << qVariantFromValue(properties) << qVariantFromValue(app);
135 return asyncCallWithArgumentList(QLatin1String("removeProperties"), argumentList, s_defaultTimeout);
138 inline QDBusPendingReply<> removeProperty(const QString &resource, const QString &property, const QDBusVariant &value, const QString &app)
141 argumentList << qVariantFromValue(resource) << qVariantFromValue(property) << qVariantFromValue(value) << qVariantFromValue(app);
142 return asyncCallWithArgumentList(QLatin1String("removeProperty"), argumentList, s_defaultTimeout);
145 inline QDBusPendingReply<> removeProperty(const QStringList &resources, const QString &property, const QVariantList &values, const QString &app)
148 argumentList << qVariantFromValue(resources) << qVariantFromValue(property) << qVariantFromValue(values) << qVariantFromValue(app);
149 return asyncCallWithArgumentList(QLatin1String("removeProperty"), argumentList, s_defaultTimeout);
152 inline QDBusPendingReply<> removeResources(const QString &resource, int flags, const QString &app)
155 argumentList << qVariantFromValue(resource) << qVariantFromValue(flags) << qVariantFromValue(app);
156 return asyncCallWithArgumentList(QLatin1String("removeResources"), argumentList, s_defaultTimeout);
159 inline QDBusPendingReply<> removeResources(const QStringList &resources, int flags, const QString &app)
162 argumentList << qVariantFromValue(resources) << qVariantFromValue(flags) << qVariantFromValue(app);
163 return asyncCallWithArgumentList(QLatin1String("removeResources"), argumentList, s_defaultTimeout);
166 inline QDBusPendingReply<> setProperty(const QString &resource, const QString &property, const QDBusVariant &value, const QString &app)
169 argumentList << qVariantFromValue(resource) << qVariantFromValue(property) << qVariantFromValue(value) << qVariantFromValue(app);
173 inline QDBusPendingReply<> setProperty(const QStringList &resources, const QString &property, const QVariantList &values, const QString &app)
176 argumentList << qVariantFromValue(resources) << qVariantFromValue(property) << qVariantFromValue(values) << qVariantFromValue(app);
180 inline QDBusPendingReply<> storeResources(const QList<Nepomuk2::SimpleResource> &resources, int identificationMode, int flags, Nepomuk2::PropertyHash additionalMetadata, const QString &app)
183 argumentList << qVariantFromValue(resources) << qVariantFromValue(identificationMode) << qVariantFromValue(flags) << qVariantFromValue(additionalMetadata) << qVariantFromValue(app);
184 return asyncCallWithArgumentList(QLatin1String("storeResources"), argumentList, s_defaultTimeout);
QDBusPendingReply< QString > createResource(const QString &type, const QString &label, const QString &description, const QString &app)
Definition: datamanagementinterface.h:61
static const char * staticInterfaceName()
Definition: datamanagementinterface.h:38
QDBusPendingReply removeProperties(const QString &resource, const QString &property, const QString &app)
Definition: datamanagementinterface.h:124
QDBusPendingReply removeResources(const QStringList &resources, int flags, const QString &app)
Definition: datamanagementinterface.h:159
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args, int timeout)
Definition: abstracttimeoutdbusinterface.cpp:35
::OrgKdeNepomukDataManagementInterface DataManagement
Definition: datamanagementinterface.h:193
QDBusPendingReply removeResources(const QString &resource, int flags, const QString &app)
Definition: datamanagementinterface.h:152
QDBusPendingReply removeProperties(const QStringList &resources, const QStringList &properties, const QString &app)
Definition: datamanagementinterface.h:131
QDBusPendingReply setProperty(const QStringList &resources, const QString &property, const QVariantList &values, const QString &app)
Definition: datamanagementinterface.h:173
QDBusPendingReply removeDataByApplication(int flags, const QString &app)
Definition: datamanagementinterface.h:110
~OrgKdeNepomukDataManagementInterface()
Definition: datamanagementinterface.cpp:23
QDBusPendingReply< QList< Nepomuk2::SimpleResource > > describeResources(const QStringList &resources, int flags, const QStringList &targetParties)
Definition: datamanagementinterface.h:75
QDBusPendingReply< QString > createResource(const QStringList &types, const QString &label, const QString &description, const QString &app)
Definition: datamanagementinterface.h:68
QDBusPendingReply mergeResources(const QString &resource1, const QString &resource2, const QString &app)
Definition: datamanagementinterface.h:96
QDBusPendingReply addProperty(const QStringList &resources, const QString &property, const QVariantList &values, const QString &app)
Definition: datamanagementinterface.h:54
QDBusPendingReply importResources(const QString &url, const QString &serialization, int identificationMode, int flags, Nepomuk2::PropertyHash additionalMetadata, const QString &app)
Definition: datamanagementinterface.h:89
An extension of the abstract DBus interface which allows to set the timeout.
Definition: abstracttimeoutdbusinterface.h:30
QDBusPendingReply addProperty(const QString &resource, const QString &property, const QDBusVariant &value, const QString &app)
Definition: datamanagementinterface.h:47
QDBusPendingReply setProperty(const QString &resource, const QString &property, const QDBusVariant &value, const QString &app)
Definition: datamanagementinterface.h:166
QDBusPendingReply mergeResources(const QStringList &resource, const QString &app)
Definition: datamanagementinterface.h:103
OrgKdeNepomukDataManagementInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0)
Definition: datamanagementinterface.cpp:18
QDBusPendingReply removeProperty(const QStringList &resources, const QString &property, const QVariantList &values, const QString &app)
Definition: datamanagementinterface.h:145
QDBusPendingReply importResources(const QString &url, const QString &serialization, int identificationMode, int flags, const QString &app)
Definition: datamanagementinterface.h:82
QDBusPendingReply removeDataByApplication(const QStringList &resources, int flags, const QString &app)
Definition: datamanagementinterface.h:117
QDBusPendingReply storeResources(const QList< Nepomuk2::SimpleResource > &resources, int identificationMode, int flags, Nepomuk2::PropertyHash additionalMetadata, const QString &app)
Definition: datamanagementinterface.h:180
QDBusPendingReply removeProperty(const QString &resource, const QString &property, const QDBusVariant &value, const QString &app)
Definition: datamanagementinterface.h:138
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.