Changeset View
Changeset View
Standalone View
Standalone View
src/output.h
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
176 | 176 | | |||
177 | bool isPrimary() const; | 177 | bool isPrimary() const; | ||
178 | void setPrimary(bool primary); | 178 | void setPrimary(bool primary); | ||
179 | 179 | | |||
180 | QList<int> clones() const; | 180 | QList<int> clones() const; | ||
181 | void setClones(QList<int> outputlist); | 181 | void setClones(QList<int> outputlist); | ||
182 | 182 | | |||
183 | void setEdid(const QByteArray &rawData); | 183 | void setEdid(const QByteArray &rawData); | ||
184 | | ||||
185 | /** | ||||
186 | * edid returns the output's EDID information if available. | ||||
187 | * | ||||
188 | * The output maintains ownership of the returned Edid, so the caller should not delete it. | ||||
189 | * Note that the edid is only valid as long as the output is alive. | ||||
190 | */ | ||||
184 | Edid* edid() const; | 191 | Edid* edid() const; | ||
185 | 192 | | |||
186 | /** | 193 | /** | ||
187 | * Returns the physical size of the screen in milimeters. | 194 | * Returns the physical size of the screen in milimeters. | ||
188 | * | 195 | * | ||
189 | * @note Some broken GPUs or monitors return the size in centimeters instead | 196 | * @note Some broken GPUs or monitors return the size in centimeters instead | ||
190 | * of millimeters. KScreen at the moment is not sanitizing the values. | 197 | * of millimeters. KScreen at the moment is not sanitizing the values. | ||
191 | */ | 198 | */ | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |