Changeset View
Changeset View
Standalone View
Standalone View
src/server/outputdevice_interface.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Line(s) | 63 | public: | |||
---|---|---|---|---|---|
104 | QSize physicalSize() const; | 104 | QSize physicalSize() const; | ||
105 | QPoint globalPosition() const; | 105 | QPoint globalPosition() const; | ||
106 | QString manufacturer() const; | 106 | QString manufacturer() const; | ||
107 | QString model() const; | 107 | QString model() const; | ||
108 | QString serialNumber() const; | 108 | QString serialNumber() const; | ||
109 | QString eisaId() const; | 109 | QString eisaId() const; | ||
110 | QSize pixelSize() const; | 110 | QSize pixelSize() const; | ||
111 | int refreshRate() const; | 111 | int refreshRate() const; | ||
112 | #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 50) | ||||
113 | /// @deprecated Since 5.50, use scaleF() | ||||
114 | KWAYLANDSERVER_DEPRECATED_VERSION(5, 50, "Use OutputDeviceInterface::scaleF()") | ||||
112 | int scale() const; | 115 | int scale() const; | ||
116 | #endif | ||||
117 | /// @since 5.50 | ||||
113 | qreal scaleF() const; | 118 | qreal scaleF() const; | ||
114 | SubPixel subPixel() const; | 119 | SubPixel subPixel() const; | ||
115 | Transform transform() const; | 120 | Transform transform() const; | ||
116 | ColorCurves colorCurves() const; | 121 | ColorCurves colorCurves() const; | ||
117 | QList<Mode> modes() const; | 122 | QList<Mode> modes() const; | ||
118 | int currentModeId() const; | 123 | int currentModeId() const; | ||
119 | 124 | | |||
120 | QByteArray edid() const; | 125 | QByteArray edid() const; | ||
121 | OutputDeviceInterface::Enablement enabled() const; | 126 | OutputDeviceInterface::Enablement enabled() const; | ||
122 | QByteArray uuid() const; | 127 | QByteArray uuid() const; | ||
123 | 128 | | |||
124 | void setPhysicalSize(const QSize &size); | 129 | void setPhysicalSize(const QSize &size); | ||
125 | void setGlobalPosition(const QPoint &pos); | 130 | void setGlobalPosition(const QPoint &pos); | ||
126 | void setManufacturer(const QString &manufacturer); | 131 | void setManufacturer(const QString &manufacturer); | ||
127 | void setModel(const QString &model); | 132 | void setModel(const QString &model); | ||
128 | void setSerialNumber(const QString &serialNumber); | 133 | void setSerialNumber(const QString &serialNumber); | ||
129 | void setEisaId(const QString &eisaId); | 134 | void setEisaId(const QString &eisaId); | ||
135 | #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 50) | ||||
136 | /// @deprecated Since 5.50, use setScale(qreal) | ||||
137 | KWAYLANDSERVER_DEPRECATED_VERSION(5, 50, "Use OutputDeviceInterface::setScale(qreal)") | ||||
130 | void setScale(int scale); | 138 | void setScale(int scale); | ||
139 | #endif | ||||
140 | /// @since 5.50 | ||||
131 | void setScaleF(qreal scale); | 141 | void setScaleF(qreal scale); | ||
132 | void setSubPixel(SubPixel subPixel); | 142 | void setSubPixel(SubPixel subPixel); | ||
133 | void setTransform(Transform transform); | 143 | void setTransform(Transform transform); | ||
134 | void setColorCurves(const ColorCurves &colorCurves); | 144 | void setColorCurves(const ColorCurves &colorCurves); | ||
135 | 145 | | |||
136 | /** | 146 | /** | ||
137 | * Add an additional mode to this output device. This is only allowed before create() is called | 147 | * Add an additional mode to this output device. This is only allowed before create() is called | ||
138 | * on the object. | 148 | * on the object. | ||
Show All 14 Lines | 162 | Q_SIGNALS: | |||
153 | void physicalSizeChanged(const QSize&); | 163 | void physicalSizeChanged(const QSize&); | ||
154 | void globalPositionChanged(const QPoint&); | 164 | void globalPositionChanged(const QPoint&); | ||
155 | void manufacturerChanged(const QString&); | 165 | void manufacturerChanged(const QString&); | ||
156 | void modelChanged(const QString&); | 166 | void modelChanged(const QString&); | ||
157 | void serialNumberChanged(const QString&); | 167 | void serialNumberChanged(const QString&); | ||
158 | void eisaIdChanged(const QString &); | 168 | void eisaIdChanged(const QString &); | ||
159 | void pixelSizeChanged(const QSize&); | 169 | void pixelSizeChanged(const QSize&); | ||
160 | void refreshRateChanged(int); | 170 | void refreshRateChanged(int); | ||
161 | //@deprecated see scaleChanged(real) | 171 | #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 50) | ||
172 | /// @deprecated Since 5.50, use scaleFChanged(qreal) | ||||
173 | KWAYLANDSERVER_DEPRECATED_VERSION(5, 50, "Use OutputDeviceInterface::scaleFChanged(qreal)") | ||||
162 | void scaleChanged(int); | 174 | void scaleChanged(int); | ||
175 | #endif | ||||
176 | /// @since 5.50 | ||||
163 | void scaleFChanged(qreal); | 177 | void scaleFChanged(qreal); | ||
164 | void subPixelChanged(SubPixel); | 178 | void subPixelChanged(SubPixel); | ||
165 | void transformChanged(Transform); | 179 | void transformChanged(Transform); | ||
166 | void colorCurvesChanged(ColorCurves); | 180 | void colorCurvesChanged(ColorCurves); | ||
167 | void modesChanged(); | 181 | void modesChanged(); | ||
168 | void currentModeChanged(); | 182 | void currentModeChanged(); | ||
169 | 183 | | |||
170 | void edidChanged(); | 184 | void edidChanged(); | ||
Show All 20 Lines |