|DBusExportModel (Model *model=0)|
|bool||registerModel (const QString &dbusObjectPath)|
|QString||dbusObjectPath () const|
Exports a Soprano Model via D-Bus.
DBusExportModel is a FilterModel like any other. As such, it can occure anywhere in a stack of models. However, the model exported via D-Bus is actually the FilterModel::parentModel, not the DBusExportModel itself. Thus, subclassing DBusExportModel to modify the behaviour of methods called via D-Bus does not make sense. Instead stack the DBusExportModel on top of your own custom FilterModel.
For creating a simple Soprano D-Bus server see ServerCore::registerAsDBusObject.
The interface exported can be accessed via Client::DBusModel.
Create a new D-Bus export model.
|model||The parent model which should be exported.|
Register the model under the given D-Bus object path.
Unregister the model from D-Bus.
The path this model is exported on. This is an empty string if the model is not exported.