[PyKDE] Problem with connecting a SIGNAL

Janos Blazi jblazi at gmx.de
Sat Jun 1 14:05:01 BST 2002


I should like to connect the signal textChanged of QLineEdit to a
function of mine. My code is
 
 
QObject.connect(self.input,SIGNAL("textChanged(QString)"),self.filter_changed)

but this does not work. I get the error messsage

RuntimeError: Signal has wrong argument types for slot

Can anybody give me a hint?

TIA,

Janos Blazi




More information about the PyQt mailing list