[PyKDE] signals and slots

Pete Ware ware at cis.ohio-state.edu
Sat Oct 30 19:04:55 BST 1999


Boudewijn Rempt <boud at rempt.xs4all.nl> writes:

> void setTitle ( const char *_title )  
> 
> self.connect(self.ilViewer, SIGNAL("setTitle (char)"), self.setTitle)
> (or: elf.connect(self.ilViewer, SIGNAL("setTitle( const char *_title )"), self.setTitle))

It's

	self.connect(self.ilViewer, SIGNAL("setTitle (const char*)"), self.setTitle)

(need the "const" and "*", don't need the parameter name).

--pete




More information about the PyQt mailing list