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

List:       pykde
Subject:    [PyKDE] PyQt4 question - QFileIconProvider
From:       Detlev Offenbach <detlev () die-offenbachs ! de>
Date:       2006-10-02 16:14:21
Message-ID: 200610021814.22156.detlev () die-offenbachs ! de
[Download RAW message or body]

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@die-offenbachs.de

_______________________________________________
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