Details
-
Suggestion
-
Resolution: Won't Do
-
P4: Low
-
None
-
5.0.0, 5.0.1, 5.0.2, 5.1.0 , 5.1.1, 5.2.0, 5.2.1
-
None
-
Linux Ubuntu 13.04 32 bit,
GCC 4.7.3 32 bit,
Qt 5.2.1 32 bit,
QtCreator 3.0.1 32 bit
Description
In QMetaMethod we have a fromSignal () helper since 5.0.
That's really nice and usefull.
But it still misses the equivalent for slots/invokable methods.
For now, to find the QMetaMethod of a know member we have to loop on all methods and compare signature.
Not really clean and / or efficient.
As fromSignal () is already implemented, and signal and slots are really similar from QMetaMethod point of view, it shouldn't be too hard to implement fromSlot ().