//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import org.kde.qt.TQPixmap; /** 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 @author Carsten Pfeiffer @short an abstract interface for looking up icons. */ public class KPixmapProvider implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; protected KPixmapProvider(Class dummy){} /** You may subclass this and return a pixmap of size size for text. @param text the text that is associated with the pixmap @param size the size of the icon in pixels, 0 for defaylt size. See KIcon.StdSize. @return the pixmap for the arguments, or null if there is none @short You may subclass this and return a pixmap of size size for text. */ public native TQPixmap pixmapFor(String text, int size); public native TQPixmap pixmapFor(String text); }