Changeset View
Changeset View
Standalone View
Standalone View
outputscreens.h
Show All 36 Lines | 34 | public: | |||
---|---|---|---|---|---|
37 | 37 | | |||
38 | void init() override; | 38 | void init() override; | ||
39 | QString name(int screen) const override; | 39 | QString name(int screen) const override; | ||
40 | bool isInternal(int screen) const; | 40 | bool isInternal(int screen) const; | ||
41 | QSizeF physicalSize(int screen) const; | 41 | QSizeF physicalSize(int screen) const; | ||
42 | QRect geometry(int screen) const override; | 42 | QRect geometry(int screen) const override; | ||
43 | QSize size(int screen) const override; | 43 | QSize size(int screen) const override; | ||
44 | qreal scale(int screen) const override; | 44 | qreal scale(int screen) const override; | ||
45 | Qt::ScreenOrientation orientation(int screen) const; | 45 | float refreshRate(int screen) const override; | ||
46 | Qt::ScreenOrientation orientation(int screen) const override; | ||||
46 | void updateCount() override; | 47 | void updateCount() override; | ||
47 | int number(const QPoint &pos) const override; | 48 | int number(const QPoint &pos) const override; | ||
48 | 49 | | |||
49 | protected: | 50 | protected: | ||
50 | Platform *m_platform; | 51 | Platform *m_platform; | ||
51 | }; | 52 | }; | ||
52 | 53 | | |||
53 | } | 54 | } | ||
54 | 55 | | |||
55 | #endif // KWIN_OUTPUTSCREENS_H | 56 | #endif // KWIN_OUTPUTSCREENS_H |