diff options
Diffstat (limited to 'src/effects/qgfxsourceproxy_p.h')
-rw-r--r-- | src/effects/qgfxsourceproxy_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/effects/qgfxsourceproxy_p.h b/src/effects/qgfxsourceproxy_p.h index ef22e17027..600f750ad8 100644 --- a/src/effects/qgfxsourceproxy_p.h +++ b/src/effects/qgfxsourceproxy_p.h @@ -26,12 +26,11 @@ class QQuickShaderEffectSource; class QGfxSourceProxy : public QQuickItem { Q_OBJECT - Q_PROPERTY(QQuickItem *input READ input WRITE setInput NOTIFY inputChanged RESET resetInput) - Q_PROPERTY(QQuickItem *output READ output NOTIFY outputChanged) - Q_PROPERTY(QRectF sourceRect READ sourceRect WRITE setSourceRect NOTIFY sourceRectChanged) - Q_PROPERTY(bool active READ isActive NOTIFY activeChanged) - Q_PROPERTY(Interpolation interpolation READ interpolation WRITE setInterpolation NOTIFY interpolationChanged) - Q_ENUMS(Interpolation) + Q_PROPERTY(QQuickItem *input READ input WRITE setInput NOTIFY inputChanged RESET resetInput FINAL) + Q_PROPERTY(QQuickItem *output READ output NOTIFY outputChanged FINAL) + Q_PROPERTY(QRectF sourceRect READ sourceRect WRITE setSourceRect NOTIFY sourceRectChanged FINAL) + Q_PROPERTY(bool active READ isActive NOTIFY activeChanged FINAL) + Q_PROPERTY(Interpolation interpolation READ interpolation WRITE setInterpolation NOTIFY interpolationChanged FINAL) public: enum class Interpolation { @@ -39,6 +38,7 @@ public: Nearest, Linear }; + Q_ENUM(Interpolation) QGfxSourceProxy(QQuickItem *parentItem = nullptr); ~QGfxSourceProxy(); |