Changeset View
Changeset View
Standalone View
Standalone View
libs/widgetutils/xmlgui/KisShortcutsEditor.h
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Line(s) | 72 | public: | |||
---|---|---|---|---|---|
181 | /** | 181 | /** | ||
182 | * Removes all configured shortcuts. | 182 | * Removes all configured shortcuts. | ||
183 | */ | 183 | */ | ||
184 | void clearConfiguration(); | 184 | void clearConfiguration(); | ||
185 | 185 | | |||
186 | /** | 186 | /** | ||
187 | * Write the current settings to the \p config object. | 187 | * Write the current settings to the \p config object. | ||
188 | * | 188 | * | ||
189 | * This does not initialize the \p config object. It adds the | 189 | * @param config Config object to save to. Default is kritashortcutsrc. | ||
190 | * configuration. | | |||
191 | * | | |||
192 | * @note this will not save the global configuration! globalaccel holds | | |||
193 | * that part of the configuration. | | |||
194 | * @see writeGlobalConfig() | | |||
195 | * | | |||
196 | * @param config Config object to save to or, or null to use the | | |||
197 | * applications config object | | |||
198 | * | 190 | * | ||
199 | */ | 191 | */ | ||
200 | void writeConfiguration(KConfigGroup *config = 0) const; | 192 | void writeConfiguration(KConfigGroup *config = 0) const; | ||
201 | 193 | | |||
202 | void exportConfiguration(KConfigBase *config) const; | 194 | void exportConfiguration(KConfigBase *config) const; | ||
203 | 195 | | |||
204 | void importConfiguration(KConfigBase *config); | 196 | void importConfiguration(KConfigBase *config); | ||
205 | 197 | | |||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |