Move property closeable to AbstractClient

icc-effect-5.14.5
Martin Gräßlin 2015-03-12 15:37:48 +01:00
parent 4d466f9ab3
commit 2f59f3e8b4
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -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.
**/