//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQIconViewItem;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPixmap;
import org.trinitydesktop.qt.TQSize;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQIconView;
import org.trinitydesktop.qt.TQPicture;
import org.trinitydesktop.qt.TQColorGroup;
import org.trinitydesktop.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();
}
