17 #include "dashcommunicator.h"
18 #include "dashconnection.h"
22 DashCommunicator::DashCommunicator(QObject *parent):
24 m_dashConnection(nullptr),
30 void DashCommunicator::setCurrentScope(
int index,
bool animate,
bool isSwipe)
34 QMetaObject::invokeMethod(m_dashConnection,
"setCurrentScope",
37 Q_ARG(
bool, isSwipe));
42 void DashCommunicator::run()
44 m_dashConnection =
new DashConnection(QStringLiteral(
"com.canonical.UnityDash"),
45 QStringLiteral(
"/com/canonical/UnityDash"),
46 QLatin1String(
""),
this);