KUrlPixmapProvider Class Reference
from PyKDE4.kio import *
Inherits: KPixmapProvider
Detailed Description
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
Methods | |
__init__ (self) | |
__init__ (self, KUrlPixmapProvider other) | |
QPixmap | pixmapFor (self, QString url, int size=0) |
Method Documentation
__init__ | ( | self ) |
Creates a new url pixmap provider.
__init__ | ( | self, | ||
KUrlPixmapProvider | other | |||
) |