aboutsummaryrefslogtreecommitdiff
path: root/src/core/ksharedconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ksharedconfig.h')
-rw-r--r--src/core/ksharedconfig.h13
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;