Changeset View
Changeset View
Standalone View
Standalone View
src/output.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
101 | /** | 101 | /** | ||
102 | * Returns an identifying hash for this output. | 102 | * Returns an identifying hash for this output. | ||
103 | * | 103 | * | ||
104 | * The hash is calculated either via the edid hash or if no | 104 | * The hash is calculated either via the edid hash or if no | ||
105 | * edid is available by the output name. | 105 | * edid is available by the output name. | ||
106 | * | 106 | * | ||
107 | * @return identifying hash of this output | 107 | * @return identifying hash of this output | ||
108 | * @since 5.15 | 108 | * @since 5.15 | ||
109 | * @deprecated | ||||
110 | * @see hashMd5 | ||||
109 | */ | 111 | */ | ||
110 | QString hash() const; | 112 | QString hash() const; | ||
111 | 113 | | |||
114 | /** | ||||
115 | * Returns an identifying hex encoded MD5-hash for this output. | ||||
116 | * | ||||
117 | * The hash is calculated either via the edid hash or if no | ||||
118 | * edid is available by the output name, which is hashed as well. | ||||
119 | * | ||||
120 | * @return identifying hash of this output | ||||
121 | * @since 5.17 | ||||
122 | */ | ||||
123 | QString hashMd5() const; | ||||
124 | | ||||
112 | Type type() const; | 125 | Type type() const; | ||
113 | void setType(Type type); | 126 | void setType(Type type); | ||
114 | 127 | | |||
115 | QString icon() const; | 128 | QString icon() const; | ||
116 | void setIcon(const QString& icon); | 129 | void setIcon(const QString& icon); | ||
117 | 130 | | |||
118 | Q_INVOKABLE ModePtr mode(const QString &id) const; | 131 | Q_INVOKABLE ModePtr mode(const QString &id) const; | ||
119 | ModeList modes() const; | 132 | ModeList modes() const; | ||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |