[PyKDE] Connection SLOT: textChanged

Benoit DELAGARDE benoit.delagarde at mipsys.com
Wed Mar 6 16:51:06 GMT 2002


HI,

I want to connect to the QLineEdit::textChanged in python-Qt, witch take
a QString as parameter. 
I tried: 
  foo.connect(bar, SLOT('textChanged()'), foo.somthingchanged)
  foo.connect(bar, SLOT('textChanged(QString)'), foo.somthingchanged)
  foo.connect(bar, SLOT('textChanged(string)'), foo.somthingchanged)

the fisrt do nothing, the two others fail in foo.connect

How can i achieve this?

Im sorry to ask an already asked question but im stuck with this.

Thanks.






More information about the PyQt mailing list