Well, here's an example:
I have class A and class B. Both with a signal called MySignal().
B.h
class B
{
public:
signals:
void MySignal();
}
A.h
class A
{
public:
signals:
void MySignal();
private:
B* m_B;
};
B.cpp
A::A()
{
m_B = new B;
connect(B, SIGNAL(MySignal()), this, SIGNAL(MySignal()));
}
What happens:
1) If I do a Refactor->Rename on A.h:void MySignal(), I get in the list MySignal from A.h and both signals from the "connect" line in A.cpp.
2) If I do a Refactor->Rename on B.h:void MySignal(), I get in the list MySignal from B.h only.
What should happen:
1) MySignal from A.h and the second MySignal in the connect of A.cpp.
2) MySignal from B.h and the first MySignal in the connect of A.cpp.
I am conscious this means explicit parsing of the "connect" call from VAX and this is why I called it a long shot...
Hope this helps!
J-O