/***************************************************************************
                            KIconViewItem.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 KIconViewItem exists to improve the word-wrap functionality of QIconViewItem
 Use KIconViewItem instead of QIconViewItem for any iconview item you might have :)

 @author David Faure <david@mandrakesoft.com>
 
 @short A variant of QIconViewItem that wraps words better.

*/
public class KIconViewItem extends QIconViewItem  {
	protected KIconViewItem(Class dummy){super((Class) null);}

	private native void newKIconViewItem( QIconView parent);
	public KIconViewItem( QIconView parent) {
		super((Class) null);
		newKIconViewItem( parent);
	}
	private native void newKIconViewItem( QIconView parent, QIconViewItem after);
	public KIconViewItem( QIconView parent, QIconViewItem after) {
		super((Class) null);
		newKIconViewItem( parent, after);
	}
	private native void newKIconViewItem( QIconView parent, String text);
	public KIconViewItem( QIconView parent, String text) {
		super((Class) null);
		newKIconViewItem( parent, text);
	}
	private native void newKIconViewItem( QIconView parent, QIconViewItem after, String text);
	public KIconViewItem( QIconView parent, QIconViewItem after, String text) {
		super((Class) null);
		newKIconViewItem( parent, after, text);
	}
	private native void newKIconViewItem( QIconView parent, String text, QPixmap icon);
	public KIconViewItem( QIconView parent, String text, QPixmap icon) {
		super((Class) null);
		newKIconViewItem( parent, text, icon);
	}
	private native void newKIconViewItem( QIconView parent, QIconViewItem after, String text, QPixmap icon);
	public KIconViewItem( QIconView parent, QIconViewItem after, String text, QPixmap icon) {
		super((Class) null);
		newKIconViewItem( parent, after, text, icon);
	}
	private native void newKIconViewItem( QIconView parent, String text, QPicture picture);
	public KIconViewItem( QIconView parent, String text, QPicture picture) {
		super((Class) null);
		newKIconViewItem( parent, text, picture);
	}
	private native void newKIconViewItem( QIconView parent, QIconViewItem after, String text, QPicture picture);
	public KIconViewItem( QIconView parent, QIconViewItem after, String text, QPicture picture) {
		super((Class) null);
		newKIconViewItem( parent, after, text, picture);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	protected native void init();
	protected native void calcRect( String text_);
	protected native void calcRect();
	protected native void paintItem( QPainter p, QColorGroup c);
}
