Changeset View
Changeset View
Standalone View
Standalone View
src/core/kconfiggroup.h
Show First 20 Lines • Show All 572 Lines • ▼ Show 20 Line(s) | 161 | #endif | |||
---|---|---|---|---|---|
573 | * file should be opened explicitly in a separate config object. | 573 | * file should be opened explicitly in a separate config object. | ||
574 | * | 574 | * | ||
575 | * @note This is @em not the same as deleting the key, as instead the | 575 | * @note This is @em not the same as deleting the key, as instead the | ||
576 | * global setting will be copied to the configuration file that this | 576 | * global setting will be copied to the configuration file that this | ||
577 | * object manipulates. | 577 | * object manipulates. | ||
578 | * | 578 | * | ||
579 | * @param key The key of the entry to revert. | 579 | * @param key The key of the entry to revert. | ||
580 | */ | 580 | */ | ||
581 | // TODO KF6 merge with the other one | ||||
581 | void revertToDefault(const QString &key); | 582 | void revertToDefault(const QString &key); | ||
583 | void revertToDefault(const QString &key, WriteConfigFlags pFlag); | ||||
584 | | ||||
582 | /** Overload for revertToDefault(const QString&) */ | 585 | /** Overload for revertToDefault(const QString&) */ | ||
586 | // TODO KF6 merge with the other one | ||||
583 | void revertToDefault(const char *key); | 587 | void revertToDefault(const char *key); | ||
588 | void revertToDefault(const char *key, WriteConfigFlags pFlag); | ||||
584 | 589 | | |||
585 | /** | 590 | /** | ||
586 | * Whether a default is specified for an entry in either the | 591 | * Whether a default is specified for an entry in either the | ||
587 | * system wide configuration file or the global KDE config file | 592 | * system wide configuration file or the global KDE config file | ||
588 | * | 593 | * | ||
589 | * If an application computes a default value at runtime for | 594 | * If an application computes a default value at runtime for | ||
590 | * a certain entry, e.g. like: | 595 | * a certain entry, e.g. like: | ||
591 | * \code | 596 | * \code | ||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |