aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfig.h
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2021-02-22 17:38:09 +0200
committerAhmad Samir <a.samirh78@gmail.com>2021-02-22 17:38:09 +0200
commit8bed00ab34e31f2b9c70026d418d923913325798 (patch)
treef289c15575415a36bc19c047a2037998e9b11ce8 /src/core/kconfig.h
parent186755fd56b58dc97250846c5305ef89f9487f86 (diff)
downloadkconfig-8bed00ab34e31f2b9c70026d418d923913325798.tar.gz
kconfig-8bed00ab34e31f2b9c70026d418d923913325798.tar.bz2
Run clang-format on all cpp/h files
NO_CHANGELOG
Diffstat (limited to 'src/core/kconfig.h')
-rw-r--r--src/core/kconfig.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/core/kconfig.h b/src/core/kconfig.h
index 4b652059..792a9a6b 100644
--- a/src/core/kconfig.h
+++ b/src/core/kconfig.h
@@ -15,11 +15,11 @@
#include <kconfigcore_export.h>
-#include <QString>
-#include <QVariant>
#include <QByteArray>
#include <QList>
#include <QStandardPaths>
+#include <QString>
+#include <QVariant>
class KConfigGroup;
class KEntryMap;
@@ -80,13 +80,13 @@ public:
* @see OpenFlags
*/
enum OpenFlag {
- IncludeGlobals = 0x01, ///< Blend kdeglobals into the config object.
- CascadeConfig = 0x02, ///< Cascade to system-wide config files.
+ IncludeGlobals = 0x01, ///< Blend kdeglobals into the config object.
+ CascadeConfig = 0x02, ///< Cascade to system-wide config files.
- 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
+ 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
};
/**
* Stores a combination of #OpenFlag values.
@@ -121,7 +121,8 @@ public:
*
* @sa KSharedConfig::openConfig(const QString&, OpenFlags, QStandardPaths::StandardLocation)
*/
- explicit KConfig(const QString &file = QString(), OpenFlags mode = FullConfig,
+ explicit KConfig(const QString &file = QString(),
+ OpenFlags mode = FullConfig,
QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation);
/**