aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfig.h
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2014-03-04 22:15:59 +0100
committerDavid Faure <faure@kde.org>2014-03-13 23:42:22 +0100
commit66f0e0272cb86b08699b79c1f3bc15d221366f0e (patch)
treeba2b880cd174db558347c35a8d72c49a2b0b3309 /src/core/kconfig.h
parent245e758cb94c0abd7e8a87c5349c49a5de1c146f (diff)
downloadkconfig-66f0e0272cb86b08699b79c1f3bc15d221366f0e.tar.gz
kconfig-66f0e0272cb86b08699b79c1f3bc15d221366f0e.tar.bz2
KCoreConfigSkeleton: delay parsing until the call to readConfig()
Diffstat (limited to 'src/core/kconfig.h')
-rw-r--r--src/core/kconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/kconfig.h b/src/core/kconfig.h
index d27eebe7..5685ebdb 100644
--- a/src/core/kconfig.h
+++ b/src/core/kconfig.h
@@ -95,7 +95,8 @@ public:
SimpleConfig = 0x00, ///< Just a single config file.
NoCascade = IncludeGlobals, ///< Include user's globals, but omit system settings.
NoGlobals = CascadeConfig, ///< Cascade to system settings, but omit user's globals.
- FullConfig = IncludeGlobals | CascadeConfig ///< Fully-fledged config, including globals and cascading to system settings
+ FullConfig = IncludeGlobals | CascadeConfig, ///< Fully-fledged config, including globals and cascading to system settings
+ DelayedParsing = 0x04 ///< Do not parse in the constructor, require a call to reparseConfiguration
};
Q_DECLARE_FLAGS(OpenFlags, OpenFlag)