From 98ce0cbc78c4772150a29d5a456bf52cec1590c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 21 Mar 2012 18:55:32 +0100 Subject: [PATCH] Add parameter names to signals in KWin Scripting Apparently needed for QML bindings. --- scripting/workspace_wrapper.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/scripting/workspace_wrapper.h b/scripting/workspace_wrapper.h index 0b44b6e244..c4ea8f68f6 100644 --- a/scripting/workspace_wrapper.h +++ b/scripting/workspace_wrapper.h @@ -67,19 +67,19 @@ private: Q_DISABLE_COPY(WorkspaceWrapper) signals: - void desktopPresenceChanged(KWin::Client*, int); - void currentDesktopChanged(int); - void clientAdded(KWin::Client*); - void clientRemoved(KWin::Client*); - void clientManaging(KWin::Client*); - void clientMinimized(KWin::Client*); - void clientUnminimized(KWin::Client*); - void clientRestored(KWin::Client*); - void clientMaximizeSet(KWin::Client*, bool, bool); - void killWindowCalled(KWin::Client*); - void clientActivated(KWin::Client*); - void clientFullScreenSet(KWin::Client*, bool, bool); - void clientSetKeepAbove(KWin::Client*, bool); + void desktopPresenceChanged(KWin::Client *client, int desktop); + void currentDesktopChanged(int desktop); + void clientAdded(KWin::Client *client); + void clientRemoved(KWin::Client *client); + void clientManaging(KWin::Client *client); + void clientMinimized(KWin::Client *client); + void clientUnminimized(KWin::Client *client); + void clientRestored(KWin::Client *client); + void clientMaximizeSet(KWin::Client *client, bool h, bool v); + void killWindowCalled(KWin::Client *client); + void clientActivated(KWin::Client *client); + void clientFullScreenSet(KWin::Client *client, bool fullScreen, bool user); + void clientSetKeepAbove(KWin::Client *client, bool keepAbove); /** * Signal emitted whenever the number of desktops changed. * To get the current number of desktops use the property desktops. @@ -91,7 +91,7 @@ signals: * @param c The Client for which demands attention changed * @param set New value of demands attention **/ - void clientDemandsAttentionChanged(KWin::Client* c, bool set); + void clientDemandsAttentionChanged(KWin::Client *client, bool set); public: //------------------------------------------------------------------