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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
import org.kde.qt.QEvent;
import org.kde.qt.QWidget;

/**
 See {@link KFileFilterComboSignals} for signals emitted by KFileFilterCombo
*/
public class KFileFilterCombo extends KComboBox  {
	protected KFileFilterCombo(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KFileFilterCombo(QWidget parent, String name) {
		super((Class) null);
		newKFileFilterCombo(parent,name);
	}
	private native void newKFileFilterCombo(QWidget parent, String name);
	public KFileFilterCombo(QWidget parent) {
		super((Class) null);
		newKFileFilterCombo(parent);
	}
	private native void newKFileFilterCombo(QWidget parent);
	public KFileFilterCombo() {
		super((Class) null);
		newKFileFilterCombo();
	}
	private native void newKFileFilterCombo();
	public native void setFilter(String filter);
	/**	
				@return the current filter, either something like "*.cpp *.h"
 or the current mimetype, like "text/html", or a list of those, like
     " "text/html text/plain image/png", all separated with one space.
     
		@short
	*/
	public native String currentFilter();
	/**	
		 Sets the current filter. Filter must match one of the filter items
		 passed before to this widget.
				@short    Sets the current filter.
	*/
	public native void setCurrentFilter(String filter);
	/**	
		 Sets a list of mimetypes.
		 If <code>defaultType</code> is set, it will be set as the current item.
		 Otherwise, a first item showing all the mimetypes will be created.
		     		@short    Sets a list of mimetypes.
	*/
	public native void setMimeFilter(String[] types, String defaultType);
	/**	
				@return true if the filter's first item is the list of all mimetypes
     
		@short
	*/
	public native boolean showsAllTypes();
	/**	
		 This method allows you to set a default-filter, that is used when an
		 empty filter is set. Make sure you call this before calling
		 setFilter().
			 By default, this is set to i18n("*|All Files")
				@short    This method allows you to set a default-filter, that is used when an  empty filter is set.
		@see #defaultFilter
	*/
	public native void setDefaultFilter(String filter);
	/**	
				@return the default filter, used when an empty filter is set.

		@short   
		@see #setDefaultFilter
	*/
	public native String defaultFilter();
	public native boolean eventFilter(QObject o, QEvent e);
	/** 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();
}
