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