//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; /** 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 ); [...]@author Carsten Pfeiffer
url
with size size.
Uses KMimeType.pixmapForURL().
@param url the URL to fetch a pixmap for
@param size the size of the pixmap in pixels, or 0 for default.
@return the resulting pixmap
@short Returns a pixmap for url
with size size.
@see KIcon#StdSizes
*/
public native TQPixmap pixmapFor(String url, int size);
public native TQPixmap pixmapFor(String url);
public KURLPixmapProvider() {
super((Class) null);
newKURLPixmapProvider();
}
private native void newKURLPixmapProvider();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}