[PyKDE] PyQt4 question - QFileIconProvider

Detlev Offenbach detlev at die-offenbachs.de
Mon Oct 2 17:14:21 BST 2006


Hi,

I would like to have my own file icon provider for QFileDialog. Therefore, I 
created a derived class and wanted to overwrite the icon methods. 
Unfortunately Python doesn't allow to have to methods with the same name but 
different signature. How do I implement the two virtual icon methods of 
QFileIconProvider, so that they get called by a QFileDialog after the icon 
provider of the dialog was set?

Thanks in advance.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list