Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.5.1
-
None
Description
Find Usages for a signal will not report any usages in a connect() call, unless the connect() call happens to be in a method of the class which declares the signal.
Let's say I have a class Foo which declares a signal foo(). Finding usages of foo() will return the following lines:
- The declaration of foo(),
- All `emit foo();` lines
- All `connect(this, SIGNAL(foo()), something, SLOT(bar())` lines which occur in a method of Foo
But it will not return the following lines:
- All `connect(someFooObj, SIGNAL(foo()), something, SLOT(bar())` lines which occur in a free function or a method of a class other than Foo.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-13929 Find usage does not find usage of signals and slots in other classes when using old-style connect syntax
- Closed