summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-05-03 23:07:17 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-05-30 14:02:19 +0000
commit2cf099e9f6bd482e9f7e938ccd949c5b5e6aea95 (patch)
tree1559457689c9e47841e9c26de4346ac5e12554d9 /tests/auto/tools/moc
parentdc7538441a21b4810005a6556dc3a9e32399b20c (diff)
tst_Moc: restore signals/slots/emit to the Q_UPPERCASE values
The previous definition of signals does not need to be "public". It may have been something else. Change-Id: Id69569111e7d4e619e22ffff144b4855e6acdbef Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/tools/moc')
-rw-r--r--tests/auto/tools/moc/no-keywords.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/tools/moc/no-keywords.h b/tests/auto/tools/moc/no-keywords.h
index 56a906e6a9..d31063665b 100644
--- a/tests/auto/tools/moc/no-keywords.h
+++ b/tests/auto/tools/moc/no-keywords.h
@@ -70,9 +70,9 @@ private:
double slots;
};
-#define signals public
-#define slots
-#define emit
+#define signals Q_SIGNALS
+#define slots Q_SLOTS
+#define emit Q_EMIT
#undef QT_NO_KEYWORDS
#endif // NO_KEYWORDS_H