Changeset View
Changeset View
Standalone View
Standalone View
src/output.h
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
233 | int replicationSource() const; | 233 | int replicationSource() const; | ||
234 | /** | 234 | /** | ||
235 | * @brief Set the replication source. | 235 | * @brief Set the replication source. | ||
236 | * @param source | 236 | * @param source | ||
237 | */ | 237 | */ | ||
238 | void setReplicationSource(int source); | 238 | void setReplicationSource(int source); | ||
239 | 239 | | |||
240 | void setEdid(const QByteArray &rawData); | 240 | void setEdid(const QByteArray &rawData); | ||
241 | void setEdid(Edid *edid); | ||||
241 | 242 | | |||
242 | /** | 243 | /** | ||
243 | * edid returns the output's EDID information if available. | 244 | * edid returns the output's EDID information if available. | ||
244 | * | 245 | * | ||
245 | * The output maintains ownership of the returned Edid, so the caller should not delete it. | 246 | * The output maintains ownership of the returned Edid, so the caller should not delete it. | ||
246 | * Note that the edid is only valid as long as the output is alive. | 247 | * Note that the edid is only valid as long as the output is alive. | ||
247 | */ | 248 | */ | ||
248 | Edid* edid() const; | 249 | Edid *edid() const; | ||
249 | 250 | | |||
251 | | ||||
250 | /** | 252 | /** | ||
251 | * Returns the physical size of the screen in milimeters. | 253 | * Returns the physical size of the screen in milimeters. | ||
252 | * | 254 | * | ||
253 | * @note Some broken GPUs or monitors return the size in centimeters instead | 255 | * @note Some broken GPUs or monitors return the size in centimeters instead | ||
254 | * of millimeters. KScreen at the moment is not sanitizing the values. | 256 | * of millimeters. KScreen at the moment is not sanitizing the values. | ||
255 | */ | 257 | */ | ||
256 | QSize sizeMm() const; | 258 | QSize sizeMm() const; | ||
257 | void setSizeMm(const QSize &size); | 259 | void setSizeMm(const QSize &size); | ||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |