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