|
| DBusModel (const QString &serviceName, const QString &dbusObject, const Backend *backend=0) |
| ~DBusModel () |
void | setAsyncCalls (bool b) |
bool | asyncCalls () const |
Error::ErrorCode | addStatement (const Statement &statement) |
NodeIterator | listContexts () const |
QueryResultIterator | executeQuery (const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const |
StatementIterator | listStatements (const Statement &partial) const |
Error::ErrorCode | removeStatement (const Statement &statement) |
Error::ErrorCode | removeAllStatements (const Statement &statement) |
int | statementCount () const |
bool | isEmpty () const |
bool | containsStatement (const Statement &statement) const |
bool | containsAnyStatement (const Statement &statement) const |
Node | createBlankNode () |
Error::ErrorCode | removeAllStatements (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) |
Error::ErrorCode | removeAllStatements () |
bool | containsStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
bool | containsAnyStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
virtual | ~StorageModel () |
const Backend * | backend () const |
Error::ErrorCode | removeAllStatements (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) |
Error::ErrorCode | removeAllStatements () |
bool | containsStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
bool | containsAnyStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
virtual | ~Model () |
Error::ErrorCode | addStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) |
Error::ErrorCode | addStatements (const QList< Statement > &statements) |
Error::ErrorCode | removeStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) |
Error::ErrorCode | removeAllStatements (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) |
Error::ErrorCode | removeStatements (const QList< Statement > &statements) |
Error::ErrorCode | removeContext (const Node &) |
Error::ErrorCode | removeAllStatements () |
StatementIterator | listStatements (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
StatementIterator | listStatements () const |
StatementIterator | listStatementsInContext (const Node &context) const |
bool | containsAnyStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
bool | containsStatement (const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const |
bool | containsContext (const Node &context) const |
virtual Error::ErrorCode | write (QTextStream &os) const |
| QObject (QObject *parent=0) |
| blockSignals (bool block) |
| childEvent (QChildEvent *event) |
| children () |
| connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoCompatConnection) |
| connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type=Qt::AutoCompatConnection) |
| connectNotify (const char *signal) |
| customEvent (QEvent *event) |
| deleteLater () |
| destroyed (QObject *obj=0) |
| disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| disconnect (const char *signal=0, const QObject *receiver=0, const char *method=0) |
| disconnect (const QObject *receiver, const char *method=0) |
| disconnectNotify (const char *signal) |
| dumpObjectInfo () |
| dumpObjectTree () |
| dynamicPropertyNames () |
| event (QEvent *e) |
| eventFilter (QObject *watched, QEvent *event) |
| findChild (const QString &name=QString() |
| findChildren (const QString &name=QString() |
| findChildren (const QRegExp ®Exp) |
| inherits (const char *className) |
| installEventFilter (QObject *filterObj) |
| isWidgetType () |
| killTimer (int id) |
| metaObject () |
| moveToThread (QThread *targetThread) |
| parent () |
| property (const char *name) |
| receivers (const char *signal) |
| removeEventFilter (QObject *obj) |
| sender () |
| setParent (QObject *parent) |
| setProperty (const char *name, const QVariant &value) |
| signalsBlocked () |
| startTimer (int interval) |
| thread () |
| timerEvent (QTimerEvent *event) |
| tr (const char *sourceText, const char *comment=0, int n=-1) |
| trUtf8 (const char *sourceText, const char *comment=0, int n=-1) |
| staticMetaObject |
| QObject (QObject *parent, const char *name) |
| checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| child (const char *objName, const char *inheritsClass=0, bool recursiveSearch=true) |
| className () |
| insertChild (QObject *object) |
| isA (const char *className) |
| name () |
| name (const char *defaultName) |
| normalizeSignalSlot (const char *signalSlot) |
| removeChild (QObject *object) |
| setName (const char *name) |
virtual | ~ErrorCache () |
virtual Error | lastError () const |
Interface to a DBus server model.
The DBusModel provides a fully functional interface to a Model provided through a Soprano DBus server. It can thus, be seen as the counterpart to Server::DBusExportModel.
Given the DBus service name and the object path of the Model in question it handles all DBus communication transparently.
Normally there is no need to use this class directly as DBusClient does create instances of it on request.
- Warning
- DBusModel is not thread-safe by default and has to be protected if is is to be used from different threads (This can be done via Soprano::Util::MutexModel in Soprano::Util::MutexModel::ReadWriteMultiThreading mode or via setting the model to async mode via setAsyncCalls()).
- Author
- Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
- See also
- Soprano D-Bus Interface
Definition at line 56 of file dbusmodel.h.