libkwineffects: Add QuickSceneView.rootItem property

The root item property can be useful if a QML effect needs to invoke
some function for particular screen delegate.
This commit is contained in:
Vlad Zahorodnii 2023-10-17 21:13:42 +03:00
parent d7345a77ce
commit 3817fc096f

View file

@ -30,6 +30,7 @@ class KWINEFFECTS_EXPORT QuickSceneView : public OffscreenQuickView
Q_OBJECT Q_OBJECT
Q_PROPERTY(QuickSceneEffect *effect READ effect CONSTANT) Q_PROPERTY(QuickSceneEffect *effect READ effect CONSTANT)
Q_PROPERTY(EffectScreen *screen READ screen CONSTANT) Q_PROPERTY(EffectScreen *screen READ screen CONSTANT)
Q_PROPERTY(QQuickItem *rootItem READ rootItem CONSTANT)
public: public:
explicit QuickSceneView(QuickSceneEffect *effect, EffectScreen *screen); explicit QuickSceneView(QuickSceneEffect *effect, EffectScreen *screen);