[PyQt] dbus and PyKDE

Jim Bublitz jbublitz at nwinternet.com
Tue Apr 8 17:52:00 BST 2008

> KStandardAction doesn't seem to have the necessary c++ slot to python
> slot changes needed, this app doesn't work
> http://kubuntu.org/~jriddell/tmp/kapplication.py

KStandardAction.close(self, self.hideMainWindow, self.actionCollection())


KStandardAction.close(self.hideMainWindow, self.actionCollection())

PyKDE and PyQt slot specifications only specify the slot method or function, 
not the slot's owner (first 'self') and method (self.hideMainWindow). 
Otherwise, if you were using the Qt syntax, the slot name would be a char *, 
not a method address.

The close() method is included in KStandardAction inPyKDE (see 


More information about the PyQt mailing list