/***************************************************************************
                            KFileListViewItem.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;

/**

 An item for the listiew, that has a reference to its corresponding
 {@link KFileItem}.
 
 @short 
 An item for the listiew, that has a reference to its corresponding
 @ref KFileItem.
*/
public class KFileListViewItem extends KListViewItem  {
	protected KFileListViewItem(Class dummy){super((Class) null);}

	private native void newKFileListViewItem( QListView parent, String text, QPixmap icon, KFileItem fi);
	public KFileListViewItem( QListView parent, String text, QPixmap icon, KFileItem fi) {
		super((Class) null);
		newKFileListViewItem( parent, text, icon, fi);
	}
	private native void newKFileListViewItem( QListView parent, String text, QPixmap icon, KFileItem fi, QListViewItem after);
	public KFileListViewItem( QListView parent, String text, QPixmap icon, KFileItem fi, QListViewItem after) {
		super((Class) null);
		newKFileListViewItem( parent, text, icon, fi, after);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/** 

*/
	public native KFileItem fileInfo();
	public native String key( int arg1, boolean arg2);
	public native void setKey( String key);
	public native QRect rect();
}
