//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQIconViewItem; import org.kde.qt.QtSupport; import org.kde.qt.TQPixmap; import org.kde.qt.TQSize; import org.kde.qt.TQPainter; import org.kde.qt.TQIconView; import org.kde.qt.TQPicture; import org.kde.qt.TQColorGroup; import org.kde.qt.TQIconViewItem; /** KIconViewItem exists to improve the word-wrap functionality of TQIconViewItem Use KIconViewItem instead of TQIconViewItem for any iconview item you might have :) @author David Faure @short A variant of TQIconViewItem that wraps words better. */ public class KIconViewItem extends TQIconViewItem { protected KIconViewItem(Class dummy){super((Class) null);} public KIconViewItem(TQIconView parent) { super((Class) null); newKIconViewItem(parent); } private native void newKIconViewItem(TQIconView parent); public KIconViewItem(TQIconView parent, TQIconViewItem after) { super((Class) null); newKIconViewItem(parent,after); } private native void newKIconViewItem(TQIconView parent, TQIconViewItem after); public KIconViewItem(TQIconView parent, String text) { super((Class) null); newKIconViewItem(parent,text); } private native void newKIconViewItem(TQIconView parent, String text); public KIconViewItem(TQIconView parent, TQIconViewItem after, String text) { super((Class) null); newKIconViewItem(parent,after,text); } private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text); public KIconViewItem(TQIconView parent, String text, TQPixmap icon) { super((Class) null); newKIconViewItem(parent,text,icon); } private native void newKIconViewItem(TQIconView parent, String text, TQPixmap icon); public KIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { super((Class) null); newKIconViewItem(parent,after,text,icon); } private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); public KIconViewItem(TQIconView parent, String text, TQPicture picture) { super((Class) null); newKIconViewItem(parent,text,picture); } private native void newKIconViewItem(TQIconView parent, String text, TQPicture picture); public KIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { super((Class) null); newKIconViewItem(parent,after,text,picture); } private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); /** Using this function, you can specify a custom size for the pixmap. The geometry of the item will be calculated to let a pixmap of the given size fit in the iconView without needing an update. This may be useful if you want to change the pixmap later without breaking the layout. A possible use of this function is to replace a fileItem icon by a larger pixmap (preview). @param size The size to use @short Using this function, you can specify a custom size for the pixmap. */ public native void setPixmapSize(TQSize size); /** @return The size set by setPixmapSize() or TQSize( 0, 0 ) @short */ public native TQSize pixmapSize(); protected native void init(); protected native void calcRect(String text_); protected native void calcRect(); protected native void paintItem(TQPainter p, TQColorGroup c); protected native KWordWrap wordWrap(); protected native void paintPixmap(TQPainter p, TQColorGroup c); protected native void paintText(TQPainter p, TQColorGroup c); /** 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(); }