|
|
Implementation of KPixmapProvider
Uses KMimeType::pixmapForURL() to resolve icons.
Instatiate this class and supply it to the desired class, e.g.
KHistoryCombo *combo = new KHistoryCombo( this ); combo->setPixmapProvider( new KURLPixmapProvider ); [...] |
QPixmap pixmapFor ( const QString& url, int size = 0 )
| pixmapFor |
[virtual]
Returns a pixmap for url
with size size
Uses KMimeType::pixmapForURL()
Reimplemented from KPixmapProvider.
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Reimplemented from KPixmapProvider.