/***************************************************************************
                            QIconViewItem.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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.qt;

import java.util.*;
import java.lang.Error;

public class QIconViewItem extends Qt  {
	protected QIconViewItem(Class dummy){super((Class) null);}

	private native void newQIconViewItem( QIconView parent);
	public QIconViewItem( QIconView parent) {
		super((Class) null);
		newQIconViewItem( parent);
	}
	private native void newQIconViewItem( QIconView parent, QIconViewItem after);
	public QIconViewItem( QIconView parent, QIconViewItem after) {
		super((Class) null);
		newQIconViewItem( parent, after);
	}
	private native void newQIconViewItem( QIconView parent, String text);
	public QIconViewItem( QIconView parent, String text) {
		super((Class) null);
		newQIconViewItem( parent, text);
	}
	private native void newQIconViewItem( QIconView parent, QIconViewItem after, String text);
	public QIconViewItem( QIconView parent, QIconViewItem after, String text) {
		super((Class) null);
		newQIconViewItem( parent, after, text);
	}
	private native void newQIconViewItem( QIconView parent, String text, QPixmap icon);
	public QIconViewItem( QIconView parent, String text, QPixmap icon) {
		super((Class) null);
		newQIconViewItem( parent, text, icon);
	}
	private native void newQIconViewItem( QIconView parent, QIconViewItem after, String text, QPixmap icon);
	public QIconViewItem( QIconView parent, QIconViewItem after, String text, QPixmap icon) {
		super((Class) null);
		newQIconViewItem( parent, after, text, icon);
	}
	private native void newQIconViewItem( QIconView parent, String text, QPicture picture);
	public QIconViewItem( QIconView parent, String text, QPicture picture) {
		super((Class) null);
		newQIconViewItem( parent, text, picture);
	}
	private native void newQIconViewItem( QIconView parent, QIconViewItem after, String text, QPicture picture);
	public QIconViewItem( QIconView parent, QIconViewItem after, String text, QPicture picture) {
		super((Class) null);
		newQIconViewItem( parent, after, text, picture);
	}
	protected native void finalize() throws InternalError;
	public native void setRenameEnabled( boolean allow);
	public native void setDragEnabled( boolean allow);
	public native void setDropEnabled( boolean allow);
	public native String text();
	public native QPixmap pixmap();
	public native QPicture picture();
	public native String key();
	public native boolean renameEnabled();
	public native boolean dragEnabled();
	public native boolean dropEnabled();
	public native QIconView iconView();
	public native QIconViewItem prevItem();
	public native QIconViewItem nextItem();
	public native int index();
	public native void setSelected( boolean s, boolean cb);
	public native void setSelected( boolean s);
	public native void setSelectable( boolean s);
	public native boolean isSelected();
	public native boolean isSelectable();
	public native void repaint();
	public native boolean move( int x, int y);
	public native void moveBy( int dx, int dy);
	public native boolean move( QPoint pnt);
	public native void moveBy( QPoint pnt);
	public native QRect rect();
	public native int x();
	public native int y();
	public native int width();
	public native int height();
	public native QSize size();
	public native QPoint pos();
	public native QRect textRect( boolean relative);
	public native QRect pixmapRect( boolean relative);
	public native boolean contains( QPoint pnt);
	public native boolean intersects( QRect r);
	public native boolean acceptDrop( QMimeSourceInterface mime);
	public native void rename();
	public native int compare( QIconViewItem i);
	public native void setText( String text);
	public native void setPixmap( QPixmap icon);
	public native void setPicture( QPicture icon);
	public native void setText( String text, boolean recalc, boolean redraw);
	public native void setText( String text, boolean recalc);
	public native void setPixmap( QPixmap icon, boolean recalc, boolean redraw);
	public native void setPixmap( QPixmap icon, boolean recalc);
	public native void setKey( String k);
	public native int rtti();
	protected native void removeRenameBox();
	protected native void calcRect( String text_);
	protected native void calcRect();
	protected native void paintItem( QPainter p, QColorGroup cg);
	protected native void paintFocus( QPainter p, QColorGroup cg);
	protected native void dragEntered();
	protected native void dragLeft();
	protected native void setItemRect( QRect r);
	protected native void setTextRect( QRect r);
	protected native void setPixmapRect( QRect r);
	protected native void calcTmpText();
}
