Export scriptable plugin signals

A plugin should have the possibility to define signals to be exposed
on dbus.

REVIEW: 129811
This commit is contained in:
Holger Kaelberer 2017-01-13 08:05:35 +01:00
parent 8ac7922252
commit 8c9253440d

View file

@ -140,7 +140,7 @@ void Device::reloadPlugins()
const QString dbusPath = plugin->dbusPath();
if (!dbusPath.isEmpty()) {
bus.registerObject(dbusPath, plugin, QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableInvokables);
bus.registerObject(dbusPath, plugin, QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableInvokables | QDBusConnection::ExportScriptableSignals);
}
}
if (differentPlugins) {