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();