|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KPixmapProvider
public class KPixmapProvider
A tiny abstract class with just one method:
pixmapFor()
It will be called whenever an icon is searched for text.
Used e.g. by KHistoryCombo
| Constructor Summary | |
|---|---|
protected |
KPixmapProvider(java.lang.Class dummy)
|
| Method Summary | |
|---|---|
org.kde.qt.QPixmap |
pixmapFor(java.lang.String text)
|
org.kde.qt.QPixmap |
pixmapFor(java.lang.String text,
int size)
You may subclass this and return a pixmap of size size for text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected KPixmapProvider(java.lang.Class dummy)
| Method Detail |
|---|
public org.kde.qt.QPixmap pixmapFor(java.lang.String text,
int size)
size for text.
text - the text that is associated with the pixmapsize - the size of the icon in pixels, 0 for defaylt size.
See KIcon.StdSize.
public org.kde.qt.QPixmap pixmapFor(java.lang.String text)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||