diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-22 17:38:09 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-22 17:38:09 +0200 |
commit | 8bed00ab34e31f2b9c70026d418d923913325798 (patch) | |
tree | f289c15575415a36bc19c047a2037998e9b11ce8 /src/core/ksharedconfig.h | |
parent | 186755fd56b58dc97250846c5305ef89f9487f86 (diff) | |
download | kconfig-8bed00ab34e31f2b9c70026d418d923913325798.tar.gz kconfig-8bed00ab34e31f2b9c70026d418d923913325798.tar.bz2 |
Run clang-format on all cpp/h files
NO_CHANGELOG
Diffstat (limited to 'src/core/ksharedconfig.h')
-rw-r--r-- | src/core/ksharedconfig.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/core/ksharedconfig.h b/src/core/ksharedconfig.h index be01401c..e23d17c6 100644 --- a/src/core/ksharedconfig.h +++ b/src/core/ksharedconfig.h @@ -9,8 +9,8 @@ #ifndef KSHAREDCONFIG_H #define KSHAREDCONFIG_H -#include <kconfig.h> #include <QExplicitlySharedDataPointer> +#include <kconfig.h> /** * \class KSharedConfig ksharedconfig.h <KSharedConfig> @@ -28,7 +28,7 @@ * using reparseConfiguration after a manual change notification, just like you have * to do between processes. */ -class KCONFIGCORE_EXPORT KSharedConfig : public KConfig, public QSharedData //krazy:exclude=dpointer (only for refcounting) +class KCONFIGCORE_EXPORT KSharedConfig : public KConfig, public QSharedData // krazy:exclude=dpointer (only for refcounting) { public: typedef QExplicitlySharedDataPointer<KSharedConfig> Ptr; @@ -58,9 +58,8 @@ public: * * @sa KConfig */ - static KSharedConfig::Ptr openConfig(const QString &fileName = QString(), - OpenFlags mode = FullConfig, - QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation); + static KSharedConfig::Ptr + openConfig(const QString &fileName = QString(), OpenFlags mode = FullConfig, QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation); /** * Creates a KSharedConfig object to manipulate a configuration file suitable @@ -91,9 +90,7 @@ private: KConfigGroup groupImpl(const QByteArray &aGroup) override; const KConfigGroup groupImpl(const QByteArray &aGroup) const override; - KSharedConfig(const QString &file, OpenFlags mode, - QStandardPaths::StandardLocation resourceType); - + KSharedConfig(const QString &file, OpenFlags mode, QStandardPaths::StandardLocation resourceType); }; typedef KSharedConfig::Ptr KSharedConfigPtr; |