I am using the QUrlOperator class and am trying to connect to the
connectionStateChanged signal. When I run the code I get the following
error.

File "DSBUpgradeDialog.py", line 35, in __init__
    self.connect(self.ftp, SIGNAL('connectionStateChanged(int, QString
&)'), self.__ConnectionStateChanged)
RuntimeError: Signal has wrong argument types for slot

My code looks as follows:
self.ftp = QUrlOperator()
self.connect(self.ftp, SIGNAL('connectionStateChanged(int, QString &)'),
self.__ConnectionStateChanged)

I am using using PyQt version 3.3.4 on Linux and 3.3.1 on Windows.

Please could someone help resolve this problem.

begin:vcard
fn:Daryl Dusheiko
n:Dusheiko;Daryl
adr:;;65 Johnston St;Annandale;NSW;2038;Australia
email;internet:[EMAIL PROTECTED]
tel;work:+ 61 2 9562 9858
tel;fax:+61 2 9518 7620
url:http://www.magtech.com.au
version:2.1
end:vcard

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to