igor.mironc...@gmail.com schreef op 26-6-2014 18:43:
Hi guys,
I have one simple question:
Is it possible to make connection with new syntax (using QMetaMethod) if object has two or more signals with the same name but with different argument's type? For example, QComboBox::currentIndexChanged... There are two signals with int and QString...
Yes, it is, but you'll have to use an explicit cast to do so.
See http://stackoverflow.com/questions/16794695/qt5-overloaded-signals-and-slots for an example.

Or for such connection user **must** use old syntax?
No, you don't have to.

André

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to