|
|
|
@ -22,6 +22,8 @@
|
|
|
|
|
#include "../app/config-latte.h"
|
|
|
|
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
#include <QtDBus/QDBusInterface>
|
|
|
|
|
#include <QtDBus/QDBusPendingCall>
|
|
|
|
|
|
|
|
|
|
#include <plasma/version.h>
|
|
|
|
|
|
|
|
|
@ -66,4 +68,15 @@ uint QuickWindowSystem::frameworksVersion() const
|
|
|
|
|
return Plasma::version();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void QuickWindowSystem::activateLatteLauncherMenu()
|
|
|
|
|
{
|
|
|
|
|
QDBusConnection::sessionBus().asyncCall(
|
|
|
|
|
QDBusMessage::createMethodCall(QStringLiteral("org.kde.lattedock"),
|
|
|
|
|
QStringLiteral("/Latte"),
|
|
|
|
|
QStringLiteral("org.kde.LatteDock"),
|
|
|
|
|
QStringLiteral("activateLauncherMenu")
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} //end of namespace
|
|
|
|
|