Changeset View
Changeset View
Standalone View
Standalone View
src/kcmodule.h
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Line(s) | 230 | #ifndef KCONFIGWIDGETS_NO_KAUTH | |||
---|---|---|---|---|---|
243 | /** | 243 | /** | ||
244 | * Returns the action previously set with setAuthAction(). By default its an invalid action. | 244 | * Returns the action previously set with setAuthAction(). By default its an invalid action. | ||
245 | * | 245 | * | ||
246 | * @return The action that has to be authorized to execute the save() method. | 246 | * @return The action that has to be authorized to execute the save() method. | ||
247 | */ | 247 | */ | ||
248 | KAuth::Action authAction() const; | 248 | KAuth::Action authAction() const; | ||
249 | #endif | 249 | #endif | ||
250 | 250 | | |||
251 | #if KCONFIGWIDGETS_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
251 | /** | 252 | /** | ||
252 | * Returns the value set by setExportText(); | 253 | * Returns the value set by setExportText(); | ||
253 | * @deprecated since 5.0, obsolete feature | 254 | * @deprecated since 5.0, obsolete feature | ||
254 | */ | 255 | */ | ||
255 | KCONFIGWIDGETS_DEPRECATED QString exportText() const; | 256 | KCONFIGWIDGETS_DEPRECATED_VERSION(5, 0, "Obsolete feature") | ||
257 | QString exportText() const; | ||||
258 | #endif | ||||
256 | 259 | | |||
260 | #if KCONFIGWIDGETS_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
257 | /** | 261 | /** | ||
258 | * Sets the export QString value, used for exporting data. | 262 | * Sets the export QString value, used for exporting data. | ||
259 | * @deprecated since 5.0, obsolete feature | 263 | * @deprecated since 5.0, obsolete feature | ||
260 | */ | 264 | */ | ||
261 | KCONFIGWIDGETS_DEPRECATED void setExportText(const QString &); | 265 | KCONFIGWIDGETS_DEPRECATED_VERSION(5, 0, "Obsolete feature") | ||
266 | void setExportText(const QString &); | ||||
267 | #endif | ||||
262 | 268 | | |||
263 | public Q_SLOTS: | 269 | public Q_SLOTS: | ||
264 | /** | 270 | /** | ||
265 | * Load the configuration data into the module. | 271 | * Load the configuration data into the module. | ||
266 | * | 272 | * | ||
267 | * The load method sets the user interface elements of the | 273 | * The load method sets the user interface elements of the | ||
268 | * module to reflect the current settings stored in the | 274 | * module to reflect the current settings stored in the | ||
269 | * configuration files. | 275 | * configuration files. | ||
▲ Show 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 351 | Q_SIGNALS: | |||
370 | * | 376 | * | ||
371 | * @since 4.4 | 377 | * @since 4.4 | ||
372 | * | 378 | * | ||
373 | */ | 379 | */ | ||
374 | void rootOnlyMessageChanged(bool use, QString message); | 380 | void rootOnlyMessageChanged(bool use, QString message); | ||
375 | 381 | | |||
376 | protected Q_SLOTS: | 382 | protected Q_SLOTS: | ||
377 | 383 | | |||
384 | #if KCONFIGWIDGETS_ENABLE_DEPRECATED_SINCE(5, 64) | ||||
378 | /** | 385 | /** | ||
379 | * Calling this slot is equivalent to emitting changed(true). | 386 | * Calling this slot is equivalent to emitting changed(true). | ||
380 | * @deprecated see markAsChanged | 387 | * @deprecated Since 5.64, use markAsChanged | ||
381 | */ | 388 | */ | ||
382 | KCONFIGWIDGETS_DEPRECATED void changed(); | 389 | KCONFIGWIDGETS_DEPRECATED_VERSION(5, 64, "Use KCModule::markAsChanged()") | ||
390 | void changed(); | ||||
391 | #endif | ||||
383 | 392 | | |||
384 | /** | 393 | /** | ||
385 | * Calling this slot is equivalent to emitting changed(true). | 394 | * Calling this slot is equivalent to emitting changed(true). | ||
395 | * @since 5.64 | ||||
386 | */ | 396 | */ | ||
387 | void markAsChanged(); | 397 | void markAsChanged(); | ||
388 | 398 | | |||
389 | 399 | | |||
390 | /** | 400 | /** | ||
391 | * A managed widget was changed, the widget settings and the current | 401 | * A managed widget was changed, the widget settings and the current | ||
392 | * settings are compared and a corresponding changed() signal is emitted | 402 | * settings are compared and a corresponding changed() signal is emitted | ||
393 | */ | 403 | */ | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |