Remove duplicate AbstractClient properties
Some Toplevel properties were redefined in the AbstractClient class to allow property mutability. Now, since both classes were merged, those properties can be defined only once.
This commit is contained in:
parent
2540e80277
commit
3d038b715f
1 changed files with 2 additions and 24 deletions
|
@ -83,14 +83,6 @@ class KWIN_EXPORT AbstractClient : public QObject
|
|||
Q_PROPERTY(bool alpha READ hasAlpha NOTIFY hasAlphaChanged)
|
||||
Q_PROPERTY(qulonglong frameId READ frameId)
|
||||
|
||||
/**
|
||||
* This property holds the geometry of the AbstractClient, excluding invisible
|
||||
* portions, e.g. client-side and server-side drop-shadows, etc.
|
||||
*
|
||||
* @deprecated Use frameGeometry property instead.
|
||||
*/
|
||||
Q_PROPERTY(QRect geometry READ frameGeometry NOTIFY frameGeometryChanged)
|
||||
|
||||
/**
|
||||
* This property holds rectangle that the pixmap or buffer of this AbstractClient
|
||||
* occupies on the screen. This rectangle includes invisible portions of the
|
||||
|
@ -98,12 +90,6 @@ class KWIN_EXPORT AbstractClient : public QObject
|
|||
*/
|
||||
Q_PROPERTY(QRect bufferGeometry READ bufferGeometry)
|
||||
|
||||
/**
|
||||
* This property holds the geometry of the AbstractClient, excluding invisible
|
||||
* portions, e.g. server-side and client-side drop-shadows, etc.
|
||||
*/
|
||||
Q_PROPERTY(QRect frameGeometry READ frameGeometry NOTIFY frameGeometryChanged)
|
||||
|
||||
/**
|
||||
* This property holds the position of the AbstractClient's frame geometry.
|
||||
*/
|
||||
|
@ -138,12 +124,6 @@ class KWIN_EXPORT AbstractClient : public QObject
|
|||
Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged)
|
||||
Q_PROPERTY(int screen READ screen NOTIFY screenChanged)
|
||||
Q_PROPERTY(qulonglong windowId READ window CONSTANT)
|
||||
Q_PROPERTY(int desktop READ desktop)
|
||||
|
||||
/**
|
||||
* Whether the window is on all desktops. That is desktop is -1.
|
||||
*/
|
||||
Q_PROPERTY(bool onAllDesktops READ isOnAllDesktops)
|
||||
|
||||
Q_PROPERTY(QRect rect READ rect)
|
||||
Q_PROPERTY(QPoint clientPos READ clientPos)
|
||||
|
@ -255,8 +235,6 @@ class KWIN_EXPORT AbstractClient : public QObject
|
|||
*/
|
||||
Q_PROPERTY(int windowType READ windowType)
|
||||
|
||||
Q_PROPERTY(QStringList activities READ activities)
|
||||
|
||||
/**
|
||||
* Whether this AbstractClient is managed by KWin (it has control over its placement and other
|
||||
* aspects, as opposed to override-redirect windows that are entirely handled by the application).
|
||||
|
@ -490,13 +468,13 @@ class KWIN_EXPORT AbstractClient : public QObject
|
|||
*
|
||||
* @deprecated Use frameGeometry
|
||||
*/
|
||||
Q_PROPERTY(QRect geometry READ frameGeometry WRITE moveResize)
|
||||
Q_PROPERTY(QRect geometry READ frameGeometry WRITE moveResize NOTIFY frameGeometryChanged)
|
||||
|
||||
/**
|
||||
* The geometry of this Client. Be aware that depending on resize mode the frameGeometryChanged
|
||||
* signal might be emitted at each resize step or only at the end of the resize operation.
|
||||
*/
|
||||
Q_PROPERTY(QRect frameGeometry READ frameGeometry WRITE moveResize)
|
||||
Q_PROPERTY(QRect frameGeometry READ frameGeometry WRITE moveResize NOTIFY frameGeometryChanged)
|
||||
|
||||
/**
|
||||
* Whether the Client is currently being moved by the user.
|
||||
|
|
Loading…
Reference in a new issue