Warning, file /sdk/clazy/tests/incorrect-emit/bug406798.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #include <QtCore/QObject> 0002 0003 class Foo : public QObject 0004 { 0005 Q_OBJECT 0006 public: 0007 0008 void foo() 0009 { 0010 emit scriptableSignal(); 0011 } 0012 0013 Q_SIGNALS: 0014 Q_SCRIPTABLE void scriptableSignal(); // OK 0015 };