17 #include "dbusdashcommunicatorservice.h"
19 #include <QDBusConnection>
20 #include <QDBusInterface>
23 DBusDashCommunicatorService::DBusDashCommunicatorService(QObject *parent):
26 QDBusConnection connection = QDBusConnection::sessionBus();
28 connection.registerService(
"com.canonical.UnityDash");
29 connection.registerObject(
"/com/canonical/UnityDash",
this, QDBusConnection::ExportScriptableSlots);
32 DBusDashCommunicatorService::~DBusDashCommunicatorService()
36 void DBusDashCommunicatorService::SetCurrentScope(
const QString &scopeId,
bool animate,
bool isSwipe)
38 Q_EMIT setCurrentScopeRequested(scopeId, animate, isSwipe);