QT4 designer doesnot accept ‘&’ reference and ‘ ‘ space character in signal/slot editor

qt4

QT4 designer doesnot accept '&' reference and ' ' space character in signal/slot editor? As XML schema also doesn't support it … is there any way to create a custom slot like onClickMyCustorSlot(const QStringList &) using QT4 designer or editing th ui-xml

-Himadri Sekhar

Best Answer

Signals are generally stripped of all & and const. If you connect them in the code you have to use them the same way, in your example like this:

SIGNAL("onClickMyCustomSlot(QStringList)")

Pointers (*), on the other hand, should stay in the signal name.

Related Topic