From ac6703215ba5e152379173ba503f5ba3bd7e8a85 Mon Sep 17 00:00:00 2001 From: Thomas Braxton Date: Wed, 11 Jun 2014 08:40:44 -0500 Subject: Simple Cleanups - use Q_NULLPTR instead of 0 or NULL - simplify some foreach loops - use QStringLiteral in a few places - added a few consts REVIEW: 118666 --- src/core/kcoreconfigskeleton.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/kcoreconfigskeleton.h') diff --git a/src/core/kcoreconfigskeleton.h b/src/core/kcoreconfigskeleton.h index bb9c1cf9..f8313d1e 100644 --- a/src/core/kcoreconfigskeleton.h +++ b/src/core/kcoreconfigskeleton.h @@ -526,7 +526,7 @@ public: public: /** @copydoc KConfigSkeletonGenericItem::KConfigSkeletonGenericItem */ ItemProperty(const QString &_group, const QString &_key, - QVariant &reference, const QVariant &defaultValue = 0); + QVariant &reference, const QVariant &defaultValue = QVariant()); void readConfig(KConfig *config); void setProperty(const QVariant &p); @@ -1004,7 +1004,7 @@ public: * config file as returned by KSharedConfig::openConfig() is used * @param parent the parent object (see QObject documentation) */ - explicit KCoreConfigSkeleton(const QString &configname = QString(), QObject *parent = 0); + explicit KCoreConfigSkeleton(const QString &configname = QString(), QObject *parent = Q_NULLPTR); /** * Constructor. @@ -1012,7 +1012,7 @@ public: * @param config configuration object to use * @param parent the parent object (see QObject documentation) */ - explicit KCoreConfigSkeleton(KSharedConfig::Ptr config, QObject *parent = 0); + explicit KCoreConfigSkeleton(KSharedConfig::Ptr config, QObject *parent = Q_NULLPTR); /** * Destructor -- cgit v1.2.1