Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/common/effectsmodel.h
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
185 | /** | 185 | /** | ||
186 | * Resets the status of each effect to the default state. | 186 | * Resets the status of each effect to the default state. | ||
187 | * | 187 | * | ||
188 | * @note In order to actually apply the change, you have to call save(). | 188 | * @note In order to actually apply the change, you have to call save(). | ||
189 | */ | 189 | */ | ||
190 | void defaults(); | 190 | void defaults(); | ||
191 | 191 | | |||
192 | /** | 192 | /** | ||
193 | * Whether the status of each effect is its default state. | ||||
194 | */ | ||||
195 | bool isDefaults() const; | ||||
zzag: Make it const please. | |||||
196 | | ||||
197 | /** | ||||
193 | * Whether the model has unsaved changes. | 198 | * Whether the model has unsaved changes. | ||
194 | */ | 199 | */ | ||
195 | bool needsSave() const; | 200 | bool needsSave() const; | ||
196 | 201 | | |||
197 | /** | 202 | /** | ||
198 | * Finds an effect with the given plugin id. | 203 | * Finds an effect with the given plugin id. | ||
199 | */ | 204 | */ | ||
200 | QModelIndex findByPluginId(const QString &pluginId) const; | 205 | QModelIndex findByPluginId(const QString &pluginId) const; | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |
Make it const please.