From 07dd743412ad32255b726b0b7005501670b189f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 11 Sep 2015 10:57:00 +0200 Subject: [PATCH] Move transient property from Client to AbstractClient --- abstract_client.h | 6 ++++++ client.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/abstract_client.h b/abstract_client.h index 473ee91d45..3fa4d953bc 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -161,6 +161,11 @@ class AbstractClient : public Toplevel * Because of that no changed signal is provided. **/ Q_PROPERTY(bool wantsInput READ wantsInput) + /** + * Whether the Client is a transient Window to another Window. + * @see transientFor + **/ + Q_PROPERTY(bool transient READ isTransient NOTIFY transientChanged) public: virtual ~AbstractClient(); @@ -402,6 +407,7 @@ Q_SIGNALS: void captionChanged(); void clientMaximizedStateChanged(KWin::AbstractClient*, MaximizeMode); void clientMaximizedStateChanged(KWin::AbstractClient* c, bool h, bool v); + void transientChanged(); protected: AbstractClient(); diff --git a/client.h b/client.h index 8a82545b53..cd2930a4a8 100644 --- a/client.h +++ b/client.h @@ -113,11 +113,6 @@ class Client * Because of that there is no notify signal. **/ Q_PROPERTY(bool resizeable READ isResizable) - /** - * Whether the Client is a transient Window to another Window. - * @see transientFor - **/ - Q_PROPERTY(bool transient READ isTransient NOTIFY transientChanged) /** * The Client to which this Client is a transient if any. **/ @@ -556,7 +551,6 @@ Q_SIGNALS: void clientStartUserMovedResized(KWin::Client*); void clientStepUserMovedResized(KWin::Client *, const QRect&); void clientFinishUserMovedResized(KWin::Client*); - void transientChanged(); void modalChanged(); void moveResizedChanged();