aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qt-keywords/main.cpp_fixed.cpp.expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qt-keywords/main.cpp_fixed.cpp.expected')
-rw-r--r--tests/qt-keywords/main.cpp_fixed.cpp.expected25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/qt-keywords/main.cpp_fixed.cpp.expected b/tests/qt-keywords/main.cpp_fixed.cpp.expected
new file mode 100644
index 00000000..4d0e3ff4
--- /dev/null
+++ b/tests/qt-keywords/main.cpp_fixed.cpp.expected
@@ -0,0 +1,25 @@
+#include <QtCore/QObject>
+#include <QtCore/QString>
+
+class MyObj : public QObject
+{
+public Q_SLOTS:
+ void slot1();
+
+public Q_SLOTS:
+ void slot2();
+Q_SIGNALS:
+ void signal1();
+Q_SIGNALS:
+ void signal2();
+public:
+ Q_SLOT void slot3();
+ Q_SIGNAL void signal3();
+ void test()
+ {
+ Q_EMIT signal1();
+ QList<int> l;
+ Q_FOREACH(int i, l) {}
+ }
+};
+