Move property closeable to AbstractClient
This commit is contained in:
parent
4d466f9ab3
commit
2f59f3e8b4
2 changed files with 5 additions and 5 deletions
|
@ -46,6 +46,11 @@ class AbstractClient : public Toplevel
|
|||
* Whether the Client should be excluded from window switching effects.
|
||||
**/
|
||||
Q_PROPERTY(bool skipSwitcher READ skipSwitcher WRITE setSkipSwitcher NOTIFY skipSwitcherChanged)
|
||||
/**
|
||||
* Whether the window can be closed by the user. The value is evaluated each time the getter is called.
|
||||
* Because of that no changed signal is provided.
|
||||
**/
|
||||
Q_PROPERTY(bool closeable READ isCloseable)
|
||||
public:
|
||||
virtual ~AbstractClient();
|
||||
|
||||
|
|
5
client.h
5
client.h
|
@ -86,11 +86,6 @@ class Client
|
|||
* To read only the caption as provided by WM_NAME, use the getter with an additional @c false value.
|
||||
**/
|
||||
Q_PROPERTY(QString caption READ caption NOTIFY captionChanged)
|
||||
/**
|
||||
* Whether the window can be closed by the user. The value is evaluated each time the getter is called.
|
||||
* Because of that no changed signal is provided.
|
||||
**/
|
||||
Q_PROPERTY(bool closeable READ isCloseable)
|
||||
/**
|
||||
* The desktop this Client is on. If the Client is on all desktops the property has value -1.
|
||||
**/
|
||||
|
|
Loading…
Reference in a new issue