[Qt-interest] "indexOfMethod" always return -1 if it's parameter is not a slot or sigal, why

Yao Huiji spideryao at gmail.com
Tue Aug 18 04:16:13 CEST 2009


Hi,

    In my class , there is a normal method named "SayHi", when I call
"indexOfMethod" ,the return value is -1, but after I use "signals" or
"slots" to modify this method , it will return the right method index. I
don't know why ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090818/2de9bfb2/attachment.html 


More information about the Qt-interest-old mailing list