diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/kconfig.h | 4 | ||||
| -rw-r--r-- | src/core/kconfigbase.h | 4 | 
2 files changed, 8 insertions, 0 deletions
| diff --git a/src/core/kconfig.h b/src/core/kconfig.h index 2693f91e..1c9d23d7 100644 --- a/src/core/kconfig.h +++ b/src/core/kconfig.h @@ -77,6 +77,7 @@ public:       * Note that all values other than IncludeGlobals and CascadeConfig are       * convenience definitions for the basic mode.       * Do @em not combine them with anything. +     * @see OpenFlags       */      enum OpenFlag {          IncludeGlobals  = 0x01, ///< Blend kdeglobals into the config object. @@ -87,6 +88,9 @@ public:          NoGlobals       = CascadeConfig, ///< Cascade to system settings, but omit user's globals.          FullConfig      = IncludeGlobals | CascadeConfig ///< Fully-fledged config, including globals and cascading to system settings      }; +    /** +     * Stores a combination of #OpenFlag values. +     */      Q_DECLARE_FLAGS(OpenFlags, OpenFlag)      /** diff --git a/src/core/kconfigbase.h b/src/core/kconfigbase.h index 927eb78a..12a8e875 100644 --- a/src/core/kconfigbase.h +++ b/src/core/kconfigbase.h @@ -32,6 +32,7 @@ class KCONFIGCORE_EXPORT KConfigBase  public:      /**       * Flags to control write entry +     * @see WriteConfigFlags       */      enum WriteConfigFlag {          Persistent = 0x01, @@ -60,6 +61,9 @@ public:          */      }; +    /** +     * Stores a combination of #WriteConfigFlag values. +     */      Q_DECLARE_FLAGS(WriteConfigFlags, WriteConfigFlag)      /** | 
