Changeset View
Changeset View
Standalone View
Standalone View
src/core/kconfiggroup.h
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
136 | * Return the config object that this group belongs to | 136 | * Return the config object that this group belongs to | ||
137 | */ | 137 | */ | ||
138 | KConfig *config(); | 138 | KConfig *config(); | ||
139 | /** | 139 | /** | ||
140 | * Return the config object that this group belongs to | 140 | * Return the config object that this group belongs to | ||
141 | */ | 141 | */ | ||
142 | const KConfig *config() const; | 142 | const KConfig *config() const; | ||
143 | 143 | | |||
144 | #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
144 | /** | 145 | /** | ||
145 | * Changes the group of the object | 146 | * Changes the group of the object | ||
146 | * | 147 | * | ||
147 | * @deprecated | 148 | * @deprecated Since 5.0 | ||
148 | * Create another KConfigGroup from the parent of this group instead. | 149 | * Create another KConfigGroup from the parent of this group instead. | ||
149 | */ | 150 | */ | ||
150 | #ifndef KDE_NO_DEPRECATED | 151 | KCONFIGCORE_DEPRECATED_VERSION(5, 0, "Create another KConfigGroup from the parent of this group") | ||
151 | KCONFIGCORE_DEPRECATED void changeGroup(const QString &group); | 152 | void changeGroup(const QString &group); | ||
152 | #endif | 153 | #endif | ||
154 | | ||||
155 | #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
153 | /** | 156 | /** | ||
154 | * Overload for changeGroup(const QString&) | 157 | * Overload for changeGroup(const QString&) | ||
155 | * | 158 | * | ||
156 | * @deprecated | 159 | * @deprecated Since 5.0. | ||
157 | * Create another KConfigGroup from the parent of this group instead. | 160 | * Create another KConfigGroup from the parent of this group instead. | ||
158 | */ | 161 | */ | ||
159 | #ifndef KDE_NO_DEPRECATED | 162 | KCONFIGCORE_DEPRECATED_VERSION(5, 0, "Create another KConfigGroup from the parent of this group") | ||
160 | KCONFIGCORE_DEPRECATED void changeGroup(const char *group); | 163 | void changeGroup(const char *group); | ||
161 | #endif | 164 | #endif | ||
162 | 165 | | |||
163 | /** | 166 | /** | ||
164 | * Copies the entries in this group to another configuration object | 167 | * Copies the entries in this group to another configuration object | ||
165 | * | 168 | * | ||
166 | * @note @p other can be either another group or a different file. | 169 | * @note @p other can be either another group or a different file. | ||
167 | * | 170 | * | ||
168 | * @param other the configuration object to copy this group's entries to | 171 | * @param other the configuration object to copy this group's entries to | ||
▲ Show 20 Lines • Show All 605 Lines • Show Last 20 Lines |