17 #include "dashcommunicator.h"
18 #include "dashconnection.h"
22 DashCommunicator::DashCommunicator(QObject *parent):
24 m_dashConnection(nullptr),
30 DashCommunicator::~DashCommunicator()
36 void DashCommunicator::setCurrentScope(
int index,
bool animate,
bool isSwipe)
40 QMetaObject::invokeMethod(m_dashConnection,
"setCurrentScope",
43 Q_ARG(
bool, isSwipe));
48 void DashCommunicator::run()
50 m_dashConnection =
new DashConnection(QStringLiteral(
"com.canonical.UnityDash"),
51 QStringLiteral(
"/com/canonical/UnityDash"),
52 QLatin1String(
""),
this);