Move transient property from Client to AbstractClient
This commit is contained in:
parent
16e9c8375c
commit
07dd743412
2 changed files with 6 additions and 6 deletions
|
@ -161,6 +161,11 @@ class AbstractClient : public Toplevel
|
||||||
* Because of that no changed signal is provided.
|
* Because of that no changed signal is provided.
|
||||||
**/
|
**/
|
||||||
Q_PROPERTY(bool wantsInput READ wantsInput)
|
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:
|
public:
|
||||||
virtual ~AbstractClient();
|
virtual ~AbstractClient();
|
||||||
|
|
||||||
|
@ -402,6 +407,7 @@ Q_SIGNALS:
|
||||||
void captionChanged();
|
void captionChanged();
|
||||||
void clientMaximizedStateChanged(KWin::AbstractClient*, MaximizeMode);
|
void clientMaximizedStateChanged(KWin::AbstractClient*, MaximizeMode);
|
||||||
void clientMaximizedStateChanged(KWin::AbstractClient* c, bool h, bool v);
|
void clientMaximizedStateChanged(KWin::AbstractClient* c, bool h, bool v);
|
||||||
|
void transientChanged();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
AbstractClient();
|
AbstractClient();
|
||||||
|
|
6
client.h
6
client.h
|
@ -113,11 +113,6 @@ class Client
|
||||||
* Because of that there is no notify signal.
|
* Because of that there is no notify signal.
|
||||||
**/
|
**/
|
||||||
Q_PROPERTY(bool resizeable READ isResizable)
|
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.
|
* The Client to which this Client is a transient if any.
|
||||||
**/
|
**/
|
||||||
|
@ -556,7 +551,6 @@ Q_SIGNALS:
|
||||||
void clientStartUserMovedResized(KWin::Client*);
|
void clientStartUserMovedResized(KWin::Client*);
|
||||||
void clientStepUserMovedResized(KWin::Client *, const QRect&);
|
void clientStepUserMovedResized(KWin::Client *, const QRect&);
|
||||||
void clientFinishUserMovedResized(KWin::Client*);
|
void clientFinishUserMovedResized(KWin::Client*);
|
||||||
void transientChanged();
|
|
||||||
void modalChanged();
|
void modalChanged();
|
||||||
void moveResizedChanged();
|
void moveResizedChanged();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue