diff options
author | Thomas Braxton <kde.braxton@gmail.com> | 2014-06-11 08:40:44 -0500 |
---|---|---|
committer | Thomas Braxton <kde.braxton@gmail.com> | 2014-06-12 17:14:16 -0500 |
commit | ac6703215ba5e152379173ba503f5ba3bd7e8a85 (patch) | |
tree | d3072f5a03ec66569d4e2f6770fbaa06090cd98f /src/gui/kconfigloader.h | |
parent | 0ed55dfa5d25bdcbef24f1b06be34467b620ae99 (diff) | |
download | kconfig-ac6703215ba5e152379173ba503f5ba3bd7e8a85.tar.gz kconfig-ac6703215ba5e152379173ba503f5ba3bd7e8a85.tar.bz2 |
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
Diffstat (limited to 'src/gui/kconfigloader.h')
-rw-r--r-- | src/gui/kconfigloader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kconfigloader.h b/src/gui/kconfigloader.h index 36eb182f..0fb51421 100644 --- a/src/gui/kconfigloader.h +++ b/src/gui/kconfigloader.h @@ -107,7 +107,7 @@ public: * @param xml the xml data; must be valid KConfigXT data * @param parent optional QObject parent **/ - KConfigLoader(const QString &configFile, QIODevice *xml, QObject *parent = 0); + KConfigLoader(const QString &configFile, QIODevice *xml, QObject *parent = Q_NULLPTR); /** * Creates a KConfigSkeleton populated using the definition found in @@ -117,7 +117,7 @@ public: * @param xml the xml data; must be valid KConfigXT data * @param parent optional QObject parent **/ - KConfigLoader(KSharedConfigPtr config, QIODevice *xml, QObject *parent = 0); + KConfigLoader(KSharedConfigPtr config, QIODevice *xml, QObject *parent = Q_NULLPTR); /** * Creates a KConfigSkeleton populated using the definition found in @@ -127,7 +127,7 @@ public: * @param xml the xml data; must be valid KConfigXT data * @param parent optional QObject parent **/ - KConfigLoader(const KConfigGroup &config, QIODevice *xml, QObject *parent = 0); + KConfigLoader(const KConfigGroup &config, QIODevice *xml, QObject *parent = Q_NULLPTR); ~KConfigLoader(); |