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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQDataStream;

/**

 Folder mime type. Handles locked folders, for instance.
		@short Mimetype for a folder (inode/directory).

*/
public class KFolderType extends KMimeType  {
	protected KFolderType(Class dummy){super((Class) null);}
	/**
		 Construct a folder mimetype and take all information from a desktop file.
			@param config the desktop configuration file that describes the mime type
		   		@short    Construct a folder mimetype and take all information from a desktop file.
	*/
	public KFolderType(KDesktopFile config) {
		super((Class) null);
		newKFolderType(config);
	}
	private native void newKFolderType(KDesktopFile config);
	/**	 \internal 		@short   \internal
	*/
	public KFolderType(TQDataStream _str, int offset) {
		super((Class) null);
		newKFolderType(_str,offset);
	}
	private native void newKFolderType(TQDataStream _str, int offset);
	public native String icon(String _url, boolean _is_local);
	public native String icon(KURL _url, boolean _is_local);
	public native String comment(String _url, boolean _is_local);
	public native String comment(KURL _url, boolean _is_local);
	/** 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();
}
