[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] How to connect QSystemTrayIcon activated() signal?
From:       Wiktor =?ISO-8859-2?B?R3LqYmxh?= <greblus () gmail ! com>
Date:       2006-11-04 18:15:57
Message-ID: 20061104191557.da6f78c4.greblus () gmail ! com
[Download RAW message or body]

On Sat, 4 Nov 2006 17:02:31 +0000

> > self.connect(self.tray, QtCore.SIGNAL("activated(QtGui.QSystemTrayIcon.Trigger)"),
> > self.on_trayclicked)
> >
> > # this doesn't work
> > What should i do to make it work as expected?
> 
> Signal arguments must be C++ signatures not Python ones, so 
> use "activated(QSystemTrayIcon::ActivationReason").

It works :). Thanks Phil. 

Regards,
W.

-- 
Talkers are no good doers.
http://greblus.net/djangoblog/

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic