diff options
Diffstat (limited to 'src/plugins/platforms/wayland_common/qwaylandscreen.h')
-rw-r--r-- | src/plugins/platforms/wayland_common/qwaylandscreen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland_common/qwaylandscreen.h b/src/plugins/platforms/wayland_common/qwaylandscreen.h index 005f25ee..91848ad0 100644 --- a/src/plugins/platforms/wayland_common/qwaylandscreen.h +++ b/src/plugins/platforms/wayland_common/qwaylandscreen.h @@ -69,7 +69,10 @@ public: Qt::ScreenOrientation orientation() const; qreal refreshRate() const; + QString name() const { return mOutputName; } + QPlatformCursor *cursor() const; + QWaylandCursor *waylandCursor() const { return mWaylandCursor; }; ::wl_output *output() { return object(); } @@ -94,6 +97,7 @@ private: int mRefreshRate; QImage::Format mFormat; QSize mPhysicalSize; + QString mOutputName; QWaylandCursor *mWaylandCursor; }; |