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

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.QDataStream;

/**

 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(QDataStream _str, int offset) {
		super((Class) null);
		newKFolderType(_str,offset);
	}
	private native void newKFolderType(QDataStream _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();
}
