Warning, /sdk/clazy/tests/qt-keywords/main.cpp.fixed.expected is written in an unsupported language. File is not indexed.

0001 #include <QtCore/QObject>
0002 #include <QtCore/QString>
0003 
0004 class MyObj : public QObject
0005 {
0006 public Q_SLOTS:
0007     void slot1();
0008 
0009 public Q_SLOTS:
0010     void slot2();
0011 Q_SIGNALS:
0012     void signal1();
0013 Q_SIGNALS:
0014     void signal2();
0015 public:
0016     Q_SLOT void slot3();
0017     Q_SIGNAL void signal3();
0018     void test()
0019     {
0020         Q_EMIT signal1();
0021         QList<int> l;
0022         Q_FOREACH(int i, l) {}
0023     }
0024 };
0025