diff options
Diffstat (limited to 'src/plugins/platforms/wayland_common/qwaylandcursor.h')
-rw-r--r-- | src/plugins/platforms/wayland_common/qwaylandcursor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland_common/qwaylandcursor.h b/src/plugins/platforms/wayland_common/qwaylandcursor.h index df5dcbe3..ceb6d748 100644 --- a/src/plugins/platforms/wayland_common/qwaylandcursor.h +++ b/src/plugins/platforms/wayland_common/qwaylandcursor.h @@ -45,11 +45,14 @@ #include <qpa/qplatformcursor.h> #include <QMap> +struct wl_cursor; +struct wl_cursor_image; +struct wl_cursor_theme; + QT_BEGIN_NAMESPACE class QWaylandDisplay; class QWaylandScreen; -struct wl_cursor_theme; class QWaylandCursor : public QPlatformCursor { @@ -62,6 +65,8 @@ public: QPoint pos() const; void setPos(const QPoint &pos); + struct wl_cursor_image *cursorImage(Qt::CursorShape shape); + private: enum WaylandCursor { ArrowCursor = Qt::ArrowCursor, |