Nepomuk-Core
dbustypes.cpp
Go to the documentation of this file.
65 // trueg: QDBus does not automatically convert non-basic types but gives us a QDBusArgument in a QVariant.
66 // Thus, we need to handle QUrl, QTime, QDate, and QDateTime as a special cases here. They is the only complex types we support.
QVariant resolveDBusArguments(const QVariant &v)
Convert QDBusArguments variants into QUrl, QDate, QTime, and QDateTime variants.
Definition: dbustypes.cpp:62
QDBusArgument & operator<<(QDBusArgument &arg, const QUrl &url)
Definition: dbustypes.cpp:131
QVariantList normalizeVariantList(const QVariantList &l)
Replaces KUrl with QUrl for DBus marshalling.
Definition: dbustypes.cpp:46
void setProperties(const PropertyHash &properties)
Set the properties, replacing the existing properties.
Definition: simpleresource.cpp:271
Represents a snapshot of one Nepomuk resource.
Definition: simpleresource.h:46
PropertyHash properties() const
Definition: simpleresource.cpp:155
QStringList convertUriList(const QList< QUrl > &uris)
Definition: dbustypes.cpp:38
const QDBusArgument & operator>>(const QDBusArgument &arg, QUrl &url)
Definition: dbustypes.cpp:140
void setUri(const QUrl &uri)
Setting an invalid/empty uri will create a new random ID.
Definition: simpleresource.cpp:95
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.