aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qt-keywords/main.cpp_fixed.cpp.expected
blob: 4d0e3ff4b6ef10729a58688ffe6562d04cc46aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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) {}
    }
};