From 805d17664b306e8d33a8fd06d0fc704bf7bd1d65 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 20 Dec 2016 10:09:15 +0200 Subject: [PATCH] expose toggleWidgetExplorer through dbus Summary: --shows/hides the WidgetExplorer through dbus Test Plani: trigger widget explorer from command line Reviewers: mart, davidedmundson, #plasma Reviewed By: davidedmundson, #plasma Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D3754 --- shell/dbus/org.kde.PlasmaShell.xml | 2 ++ shell/shellcorona.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/dbus/org.kde.PlasmaShell.xml b/shell/dbus/org.kde.PlasmaShell.xml index f3155868c..f074e9b49 100644 --- a/shell/dbus/org.kde.PlasmaShell.xml +++ b/shell/dbus/org.kde.PlasmaShell.xml @@ -5,6 +5,8 @@ + + diff --git a/shell/shellcorona.h b/shell/shellcorona.h index 36fd51a0c..25ba1cd27 100644 --- a/shell/shellcorona.h +++ b/shell/shellcorona.h @@ -138,6 +138,7 @@ public Q_SLOTS: void showInteractiveKWinConsole(); void loadKWinScriptInInteractiveConsole(const QString &script); void toggleActivityManager(); + void toggleWidgetExplorer(); void evaluateScript(const QString &string); void activateLauncherMenu(); @@ -185,7 +186,6 @@ protected Q_SLOTS: private Q_SLOTS: void createWaitingPanels(); void handleContainmentAdded(Plasma::Containment *c); - void toggleWidgetExplorer(); void syncAppConfig(); void checkActivities(); void currentActivityChanged(const QString &newActivity);