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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.QtSupport;

/**

 An item for a KFileTreeView that knows about its own KFileItem.
 		@short    An item for a KFileTreeView that knows about its own KFileItem.

*/
public class KFileTreeViewItem extends TDEListViewItem  {
	protected KFileTreeViewItem(Class dummy){super((Class) null);}
	public KFileTreeViewItem(KFileTreeViewItem arg1, KFileItem arg2, KFileTreeBranch arg3) {
		super((Class) null);
		newKFileTreeViewItem(arg1,arg2,arg3);
	}
	private native void newKFileTreeViewItem(KFileTreeViewItem arg1, KFileItem arg2, KFileTreeBranch arg3);
	public KFileTreeViewItem(KFileTreeView arg1, KFileItem arg2, KFileTreeBranch arg3) {
		super((Class) null);
		newKFileTreeViewItem(arg1,arg2,arg3);
	}
	private native void newKFileTreeViewItem(KFileTreeView arg1, KFileItem arg2, KFileTreeBranch arg3);
	/**
				@return the KFileTreeBranch the item is sorted in.

		@short
	*/
	public native KFileTreeBranch branch();
	/**
				@return the KFileItem the viewitem is representing.

		@short
	*/
	public native KFileItem fileItem();
	/**
				@return the path of the item.

		@short
	*/
	public native String path();
	/**
				@return the items KURL

		@short
	*/
	public native KURL url();
	/**
				@return if the item represents a directory

		@short
	*/
	public native boolean isDir();
	/**
				@return if this directory was already seen by a KDirLister.

		@short
	*/
	public native boolean alreadyListed();
	/**
		 set the flag if the directory was already listed.
		    		@short    set the flag if the directory was already listed.
	*/
	public native void setListed(boolean wasListed);
	/** 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();
}
