aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/kconfigbackend.cpp6
-rw-r--r--src/core/kconfigbackend.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/kconfigbackend.cpp b/src/core/kconfigbackend.cpp
index bf2bc9c7..67bdefa4 100644
--- a/src/core/kconfigbackend.cpp
+++ b/src/core/kconfigbackend.cpp
@@ -35,7 +35,7 @@
typedef QExplicitlySharedDataPointer<KConfigBackend> BackendPtr;
-class KConfigBackend::Private
+class KConfigBackendPrivate
{
public:
qint64 size;
@@ -55,7 +55,7 @@ void KConfigBackend::registerMappings(const KEntryMap & /*entryMap*/)
BackendPtr KConfigBackend::create(const QString &file, const QString &sys)
{
//qDebug() << "creating a backend for file" << file << "with system" << sys;
- const QString system = (sys.isEmpty() ? Private::whatSystem(file) : sys);
+ const QString system = (sys.isEmpty() ? KConfigBackendPrivate::whatSystem(file) : sys);
KConfigBackend *backend = Q_NULLPTR;
#if 0 // TODO port to Qt5 plugin loading
@@ -82,7 +82,7 @@ BackendPtr KConfigBackend::create(const QString &file, const QString &sys)
}
KConfigBackend::KConfigBackend()
- : d(new Private)
+ : d(new KConfigBackendPrivate)
{
}
diff --git a/src/core/kconfigbackend.h b/src/core/kconfigbackend.h
index 550bf396..631769be 100644
--- a/src/core/kconfigbackend.h
+++ b/src/core/kconfigbackend.h
@@ -29,6 +29,7 @@
#include <kconfigcore_export.h>
#include <kconfigbase.h>
+class KConfigBackendPrivate;
class KEntryMap;
class QFile;
@@ -194,8 +195,7 @@ protected:
void setLocalFilePath(const QString &file);
private:
- class Private;
- Private *const d;
+ KConfigBackendPrivate *const d;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(KConfigBackend::ParseOptions)