Debian Codegraph @

tests/qt-keywords/main.cpp.fixed.expected

raw
1 #include <QtCore/QObject>
2 #include <QtCore/QString>
3
4 class MyObj : public QObject
5 {
6 public Q_SLOTS:
7 void slot1();
8
9 public Q_SLOTS:
10 void slot2();
11 Q_SIGNALS:
12 void signal1();
13 Q_SIGNALS:
14 void signal2();
15 public:
16 Q_SLOT void slot3();
17 Q_SIGNAL void signal3();
18 void test()
19 {
20 Q_EMIT signal1();
21 QList<int> l;
22 Q_FOREACH(int i, l) {}
23 }
24 };
25