File indexing completed on 2024-04-21 05:38:53

0001 #include <QtCore/QObject>
0002 #include <QtCore/QString>
0003 
0004 class Foo : public QObject
0005 {
0006 Q_OBJECT
0007 signals:
0008     void voidSig(); // ok
0009     int intSig(); // Warn
0010     void* voidStarSig(); // warn
0011     Q_SCRIPTABLE int scriptableIntSig(); // ok
0012 
0013     void withArgs1(const Foo f); // OK
0014     void withArgs2(const Foo &f); // OK
0015     void withArgs3(Foo f); // OK
0016     void withArgs4(Foo &f); // Warn
0017 };
0018