diff --git a/kwin/client.h b/kwin/client.h index 762af7fb..11b1fdc7 100644 --- a/kwin/client.h +++ b/kwin/client.h @@ -140,7 +140,7 @@ class Client * Whether the Client provides context help. Mostly needed by decorations to decide whether to * 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. * Because of that there is no notify signal. diff --git a/kwin/libkwineffects/kwineffects.h b/kwin/libkwineffects/kwineffects.h index 9ec1f9e0..9240bf55 100644 --- a/kwin/libkwineffects/kwineffects.h +++ b/kwin/libkwineffects/kwineffects.h @@ -554,7 +554,7 @@ class KWIN_EXPORT EffectsHandler : public QObject */ Q_PROPERTY(qreal animationTimeFactor READ animationTimeFactor) 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) friend class Effect; public: @@ -1052,7 +1052,7 @@ protected: class KWIN_EXPORT EffectWindow : public QObject { Q_OBJECT - Q_PROPERTY(bool alpha READ hasAlpha CONSTANT) + Q_PROPERTY(bool alpha READ hasAlpha) Q_PROPERTY(QRect geometry READ geometry) Q_PROPERTY(QRect expandedGeometry READ expandedGeometry) Q_PROPERTY(int height READ height) diff --git a/kwin/toplevel.h b/kwin/toplevel.h index bd53cdd0..16f500dd 100644 --- a/kwin/toplevel.h +++ b/kwin/toplevel.h @@ -47,7 +47,7 @@ class Toplevel : public QObject, public KDecorationDefines { Q_OBJECT - Q_PROPERTY(bool alpha READ hasAlpha CONSTANT) + Q_PROPERTY(bool alpha READ hasAlpha) Q_PROPERTY(qulonglong frameId READ frameId) Q_PROPERTY(QRect geometry READ geometry NOTIFY geometryChanged) Q_PROPERTY(QRect visibleRect READ visibleRect) @@ -57,7 +57,7 @@ class Toplevel Q_PROPERTY(int screen READ screen NOTIFY screenChanged) Q_PROPERTY(QSize size READ size) 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 y READ y) 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 * 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. **/ - Q_PROPERTY(bool deleted READ isDeleted CONSTANT) + Q_PROPERTY(bool deleted READ isDeleted) /** * Whether the window has an own shape **/