Changeset View
Changeset View
Standalone View
Standalone View
plugins/qpa/screen.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
42 | explicit Screen(KWayland::Client::Output *o); | 42 | explicit Screen(KWayland::Client::Output *o); | ||
43 | virtual ~Screen(); | 43 | virtual ~Screen(); | ||
44 | 44 | | |||
45 | QRect geometry() const override; | 45 | QRect geometry() const override; | ||
46 | int depth() const override; | 46 | int depth() const override; | ||
47 | QImage::Format format() const override; | 47 | QImage::Format format() const override; | ||
48 | QSizeF physicalSize() const override; | 48 | QSizeF physicalSize() const override; | ||
49 | QPlatformCursor *cursor() const override; | 49 | QPlatformCursor *cursor() const override; | ||
50 | QDpi logicalDpi() const override; | ||||
50 | 51 | | |||
51 | private: | 52 | private: | ||
52 | KWayland::Client::Output *m_output; | 53 | KWayland::Client::Output *m_output; | ||
53 | QScopedPointer<PlatformCursor> m_cursor; | 54 | QScopedPointer<PlatformCursor> m_cursor; | ||
54 | }; | 55 | }; | ||
55 | 56 | | |||
56 | } | 57 | } | ||
57 | } | 58 | } | ||
58 | 59 | | |||
59 | #endif | 60 | #endif |