17 #include "dashcommunicator.h"
20 #include <QDBusConnection>
21 #include <QDBusInterface>
24 DashCommunicator::DashCommunicator(QObject *parent):
29 DashCommunicator::~DashCommunicator()
34 void DashCommunicator::setCurrentScope(
const QString &scopeId,
bool animate,
bool isSwipe)
36 QDBusConnection connection = QDBusConnection::sessionBus();
37 QDBusInterface dashIface (
"com.canonical.UnityDash",
38 "/com/canonical/UnityDash",
42 dashIface.call(
"SetCurrentScope", scopeId, animate, isSwipe);