libkwineffects: Expose QuickSceneEffect::{viewForScreen,viewAt} to QML

This commit is contained in:
Vlad Zahorodnii 2023-10-17 21:05:02 +03:00
parent 264ebe6377
commit d7345a77ce

View file

@ -95,12 +95,12 @@ public:
/** /**
* Returns the scene view on the specified screen * Returns the scene view on the specified screen
*/ */
QuickSceneView *viewForScreen(EffectScreen *screen) const; Q_INVOKABLE QuickSceneView *viewForScreen(EffectScreen *screen) const;
/** /**
* Returns the view at the specified @a pos in the global screen coordinates. * Returns the view at the specified @a pos in the global screen coordinates.
*/ */
QuickSceneView *viewAt(const QPoint &pos) const; Q_INVOKABLE QuickSceneView *viewAt(const QPoint &pos) const;
/** /**
* Get a view at the given direction from the active view * Get a view at the given direction from the active view