summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/no-keywords.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/no-keywords.h')
-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