class KUrlPixmapProvider |
|
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 ); [...]
Resolves pixmaps for URLs
Author Carsten Pfeiffer |
|
Creates a new url pixmap provider. |
|
Returns a pixmap for url with size size.
Uses KMimeType.pixmapForURL().
url - the URL to fetch a pixmap for size - the size of the pixmap in pixels, or 0 for default. Returns the resulting pixmap See also KIconLoader.StdSizes |
|