Changeset View
Changeset View
Standalone View
Standalone View
src/gui/kconfigloader.h
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 103 | public: | |||
---|---|---|---|---|---|
161 | bool hasGroup(const QString &group) const; | 161 | bool hasGroup(const QString &group) const; | ||
162 | 162 | | |||
163 | /** | 163 | /** | ||
164 | * @return the list of groups defined by the XML | 164 | * @return the list of groups defined by the XML | ||
165 | */ | 165 | */ | ||
166 | QStringList groupList() const; | 166 | QStringList groupList() const; | ||
167 | 167 | | |||
168 | protected: | 168 | protected: | ||
169 | #if KCONFIGCORE_BUILD_DEPRECATED_SINCE(5, 0) | ||||
169 | /** | 170 | /** | ||
170 | * Hack used to force writing when no default exists in config file. | 171 | * Hack used to force writing when no default exists in config file. | ||
171 | */ | 172 | */ | ||
172 | bool usrWriteConfig() override; | 173 | bool usrWriteConfig() override; | ||
174 | #else | ||||
175 | bool usrSave() override; | ||||
176 | #endif | ||||
173 | 177 | | |||
174 | private: | 178 | private: | ||
175 | ConfigLoaderPrivate *const d; | 179 | ConfigLoaderPrivate *const d; | ||
176 | }; | 180 | }; | ||
177 | 181 | | |||
178 | #endif //multiple inclusion guard | 182 | #endif //multiple inclusion guard |