summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk.ford@kdab.com>2017-03-24 00:06:35 +0100
committerKevin Funk <kevin.funk@kdab.com>2017-03-29 12:26:35 +0000
commitdb62ceedd2650e877c8f84a639cd1f64e1815832 (patch)
tree2b5abc55511e1028acf7e171794cb588979b40ec /tools
parent4b65644d0f76773e9e2702d5737cc1c7fe9c64e6 (diff)
Replace Q_NULLPTR -> nullptr
Skip the moc/ directory intentionally, since it contains third-party code Change-Id: I97105e475c109231e001dc4525b3096a06601868 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/repc/repcodegenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/repc/repcodegenerator.cpp b/tools/repc/repcodegenerator.cpp
index e0a8d7c..a521fe4 100644
--- a/tools/repc/repcodegenerator.cpp
+++ b/tools/repc/repcodegenerator.cpp
@@ -589,7 +589,7 @@ void RepCodeGenerator::generateClass(Mode mode, QTextStream &out, const ASTClass
out << "" << endl;
out << " void initialize()" << endl;
} else {
- out << " explicit " << className << "(QObject *parent = Q_NULLPTR) : QObject(parent)" << endl;
+ out << " explicit " << className << "(QObject *parent = nullptr) : QObject(parent)" << endl;
if (mode == SIMPLE_SOURCE) {
Q_FOREACH (const ASTProperty &property, astClass.properties) {