diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/TDEIconViewItem.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/TDEIconViewItem.java | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/kdejava/koala/org/kde/koala/TDEIconViewItem.java b/kdejava/koala/org/kde/koala/TDEIconViewItem.java deleted file mode 100644 index f9331e73..00000000 --- a/kdejava/koala/org/kde/koala/TDEIconViewItem.java +++ /dev/null @@ -1,96 +0,0 @@ -//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; - -/** - - TDEIconViewItem exists to improve the word-wrap functionality of TQIconViewItem - Use TDEIconViewItem instead of TQIconViewItem for any iconview item you might have :) - @author David Faure <david@mandrakesoft.com> - - @short A variant of TQIconViewItem that wraps words better. - -*/ -public class TDEIconViewItem extends TQIconViewItem { - protected TDEIconViewItem(Class dummy){super((Class) null);} - public TDEIconViewItem(TQIconView parent) { - super((Class) null); - newTDEIconViewItem(parent); - } - private native void newTDEIconViewItem(TQIconView parent); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after) { - super((Class) null); - newTDEIconViewItem(parent,after); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after); - public TDEIconViewItem(TQIconView parent, String text) { - super((Class) null); - newTDEIconViewItem(parent,text); - } - private native void newTDEIconViewItem(TQIconView parent, String text); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text) { - super((Class) null); - newTDEIconViewItem(parent,after,text); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text); - public TDEIconViewItem(TQIconView parent, String text, TQPixmap icon) { - super((Class) null); - newTDEIconViewItem(parent,text,icon); - } - private native void newTDEIconViewItem(TQIconView parent, String text, TQPixmap icon); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { - super((Class) null); - newTDEIconViewItem(parent,after,text,icon); - } - private native void newTDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); - public TDEIconViewItem(TQIconView parent, String text, TQPicture picture) { - super((Class) null); - newTDEIconViewItem(parent,text,picture); - } - private native void newTDEIconViewItem(TQIconView parent, String text, TQPicture picture); - public TDEIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { - super((Class) null); - newTDEIconViewItem(parent,after,text,picture); - } - private native void newTDEIconViewItem(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(); -} |