Rename private class to avoid exporting it accidentally

wilder
Montel Laurent 11 years ago
parent 5c9c95c40f
commit bf0d42abd7
  1. 4
      src/core/kcoreconfigskeleton.cpp
  2. 4
      src/core/kcoreconfigskeleton.h
  3. 6
      src/core/kcoreconfigskeleton_p.h

@ -987,7 +987,7 @@ QVariant KCoreConfigSkeleton::ItemIntList::property() const
KCoreConfigSkeleton::KCoreConfigSkeleton(const QString &configname, QObject *parent)
: QObject(parent),
d(new Private)
d(new KCoreConfigSkeletonPrivate)
{
//qDebug() << "Creating KCoreConfigSkeleton (" << (void *)this << ")";
@ -996,7 +996,7 @@ KCoreConfigSkeleton::KCoreConfigSkeleton(const QString &configname, QObject *par
KCoreConfigSkeleton::KCoreConfigSkeleton(KSharedConfig::Ptr pConfig, QObject *parent)
: QObject(parent),
d(new Private)
d(new KCoreConfigSkeletonPrivate)
{
//qDebug() << "Creating KCoreConfigSkeleton (" << (void *)this << ")";
d->mConfig = pConfig;

@ -34,6 +34,7 @@
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtCore/QUrl>
class KCoreConfigSkeletonPrivate;
class KConfigSkeletonItemPrivate;
/**
@ -1484,8 +1485,7 @@ protected:
KCONFIGCORE_DEPRECATED virtual bool usrWriteConfig();
private:
class Private;
Private *const d;
KCoreConfigSkeletonPrivate *const d;
friend class KConfigSkeleton;
};

@ -24,13 +24,13 @@
#include "kcoreconfigskeleton.h"
class KCoreConfigSkeleton::Private
class KCoreConfigSkeletonPrivate
{
public:
Private()
KCoreConfigSkeletonPrivate()
: mCurrentGroup(QLatin1String("No Group")), mUseDefaults(false)
{}
~Private()
~KCoreConfigSkeletonPrivate()
{
KConfigSkeletonItem::List::ConstIterator it;
for (it = mItems.constBegin(); it != mItems.constEnd(); ++it) {

Loading…
Cancel
Save