Changeset View
Changeset View
Standalone View
Standalone View
screens.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 46 | public: | |||
---|---|---|---|---|---|
100 | **/ | 100 | **/ | ||
101 | QSize size() const; | 101 | QSize size() const; | ||
102 | virtual int number(const QPoint &pos) const = 0; | 102 | virtual int number(const QPoint &pos) const = 0; | ||
103 | 103 | | |||
104 | inline bool isChanging() { return m_changedTimer->isActive(); } | 104 | inline bool isChanging() { return m_changedTimer->isActive(); } | ||
105 | 105 | | |||
106 | int intersecting(const QRect &r) const; | 106 | int intersecting(const QRect &r) const; | ||
107 | 107 | | |||
108 | /** | ||||
109 | * The virtual bounding size of all screens combined. | ||||
110 | * The default implementation returns the same as @link{size} and that is the | ||||
111 | * method which should be preferred. | ||||
112 | * | ||||
113 | * This method is only for cases where the platform specific implementation needs | ||||
114 | * to support different virtual sizes like on X11 with XRandR panning. | ||||
115 | * | ||||
116 | * @see size | ||||
117 | **/ | ||||
118 | virtual QSize displaySize() const; | ||||
119 | | ||||
108 | public Q_SLOTS: | 120 | public Q_SLOTS: | ||
109 | void reconfigure(); | 121 | void reconfigure(); | ||
110 | 122 | | |||
111 | Q_SIGNALS: | 123 | Q_SIGNALS: | ||
112 | void countChanged(int previousCount, int newCount); | 124 | void countChanged(int previousCount, int newCount); | ||
113 | /** | 125 | /** | ||
114 | * Emitted whenever the screens are changed either count or geometry. | 126 | * Emitted whenever the screens are changed either count or geometry. | ||
115 | **/ | 127 | **/ | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |