Warning, file /sdk/clazy/tests/incorrect-emit/bug377134.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 TestBugNew : public QObject 0004 { 0005 void method(); 0006 0007 void otherMethod(); 0008 0009 Q_SIGNALS: 0010 void someSignal(); 0011 }; 0012 0013 void TestBugNew::method() 0014 { 0015 } 0016 0017 void TestBugNew::otherMethod() 0018 { 0019 method(); // OK 0020 }