PDA

View Full Version : Weird problem with QComboBox signal



flopper
12th March 2011, 11:36
Does anybody know how this message is possible at all?

Object::connect: No such signal QComboBox::"editTextChanged(const QString &)"

I also tried editTextChanged(QString &) and even editTextChanged(QString)

This happened when I tried to:


setDefaultProperty("QComboBox", "currentText", SIGNAL("editTextChanged(const QString &)"));


in order to:


wpage->registerField("ManufacturerName*", d->ui.manufacturerNameCombo);


Does anybody have a clue why this should not work? I'm using Qt 4.6.3 on Gentoo Linux. Thanks.

Lykurg
12th March 2011, 12:32
Skip the quotation marks. Then it should work.

flopper
12th March 2011, 12:41
Oops, beginner's problem. Thanks a lot.