kwin: prepare for Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-04-26 23:01:36 +03:00
parent cafb6f2160
commit 77e6ddb138
3 changed files with 7 additions and 7 deletions

View file

@ -140,7 +140,7 @@ class Client
* Whether the Client provides context help. Mostly needed by decorations to decide whether to * Whether the Client provides context help. Mostly needed by decorations to decide whether to
* show the help button or not. * show the help button or not.
**/ **/
Q_PROPERTY(bool providesContextHelp READ providesContextHelp CONSTANT) Q_PROPERTY(bool providesContextHelp READ providesContextHelp)
/** /**
* Whether the Client can be resized. The property is evaluated each time it is invoked. * Whether the Client can be resized. The property is evaluated each time it is invoked.
* Because of that there is no notify signal. * Because of that there is no notify signal.

View file

@ -554,7 +554,7 @@ class KWIN_EXPORT EffectsHandler : public QObject
*/ */
Q_PROPERTY(qreal animationTimeFactor READ animationTimeFactor) Q_PROPERTY(qreal animationTimeFactor READ animationTimeFactor)
Q_PROPERTY(QList< KWin::EffectWindow* > stackingOrder READ stackingOrder) Q_PROPERTY(QList< KWin::EffectWindow* > stackingOrder READ stackingOrder)
Q_PROPERTY(CompositingType compositingType READ compositingType CONSTANT) Q_PROPERTY(CompositingType compositingType READ compositingType)
Q_PROPERTY(QPoint cursorPos READ cursorPos) Q_PROPERTY(QPoint cursorPos READ cursorPos)
friend class Effect; friend class Effect;
public: public:
@ -1052,7 +1052,7 @@ protected:
class KWIN_EXPORT EffectWindow : public QObject class KWIN_EXPORT EffectWindow : public QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool alpha READ hasAlpha CONSTANT) Q_PROPERTY(bool alpha READ hasAlpha)
Q_PROPERTY(QRect geometry READ geometry) Q_PROPERTY(QRect geometry READ geometry)
Q_PROPERTY(QRect expandedGeometry READ expandedGeometry) Q_PROPERTY(QRect expandedGeometry READ expandedGeometry)
Q_PROPERTY(int height READ height) Q_PROPERTY(int height READ height)

View file

@ -47,7 +47,7 @@ class Toplevel
: public QObject, public KDecorationDefines : public QObject, public KDecorationDefines
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool alpha READ hasAlpha CONSTANT) Q_PROPERTY(bool alpha READ hasAlpha)
Q_PROPERTY(qulonglong frameId READ frameId) Q_PROPERTY(qulonglong frameId READ frameId)
Q_PROPERTY(QRect geometry READ geometry NOTIFY geometryChanged) Q_PROPERTY(QRect geometry READ geometry NOTIFY geometryChanged)
Q_PROPERTY(QRect visibleRect READ visibleRect) Q_PROPERTY(QRect visibleRect READ visibleRect)
@ -57,7 +57,7 @@ class Toplevel
Q_PROPERTY(int screen READ screen NOTIFY screenChanged) Q_PROPERTY(int screen READ screen NOTIFY screenChanged)
Q_PROPERTY(QSize size READ size) Q_PROPERTY(QSize size READ size)
Q_PROPERTY(int width READ width) Q_PROPERTY(int width READ width)
Q_PROPERTY(qulonglong windowId READ window CONSTANT) Q_PROPERTY(qulonglong windowId READ window)
Q_PROPERTY(int x READ x) Q_PROPERTY(int x READ x)
Q_PROPERTY(int y READ y) Q_PROPERTY(int y READ y)
Q_PROPERTY(int desktop READ desktop) Q_PROPERTY(int desktop READ desktop)
@ -153,11 +153,11 @@ class Toplevel
* Whether this Toplevel is managed by KWin (it has control over its placement and other * Whether this Toplevel 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). * aspects, as opposed to override-redirect windows that are entirely handled by the application).
**/ **/
Q_PROPERTY(bool managed READ isClient CONSTANT) Q_PROPERTY(bool managed READ isClient)
/** /**
* Whether this Toplevel represents an already deleted window and only kept for the compositor for animations. * Whether this Toplevel represents an already deleted window and only kept for the compositor for animations.
**/ **/
Q_PROPERTY(bool deleted READ isDeleted CONSTANT) Q_PROPERTY(bool deleted READ isDeleted)
/** /**
* Whether the window has an own shape * Whether the window has an own shape
**/ **/