org.kde.koala
public class KPixmapProvider extends Object implements QtSupport
text.
Used e.g. by KHistoryCombo
UNKNOWN: an abstract interface for looking up icons.
| Constructor Summary | |
|---|---|
| protected | KPixmapProvider(Class dummy) |
| Method Summary | |
|---|---|
| QPixmap | pixmapFor(String text, int size)
You may subclass this and return a pixmap of size size for text. |
| QPixmap | pixmapFor(String text) |
size for text.Parameters: text the text that is associated with the pixmap size the size of the icon in pixels, 0 for defaylt size. See KIcon.StdSize.
Returns: the pixmap for the arguments, or null if there is none
UNKNOWN: You may subclass this and return a pixmap of size size for text.