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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQObject;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.qt.TQWidget;

/**
 See {@link KFileFilterComboSignals} for signals emitted by KFileFilterCombo
*/
public class KFileFilterCombo extends KComboBox  {
	protected KFileFilterCombo(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KFileFilterCombo(TQWidget parent, String name) {
		super((Class) null);
		newKFileFilterCombo(parent,name);
	}
	private native void newKFileFilterCombo(TQWidget parent, String name);
	public KFileFilterCombo(TQWidget parent) {
		super((Class) null);
		newKFileFilterCombo(parent);
	}
	private native void newKFileFilterCombo(TQWidget 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(TQObject o, TQEvent 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();
}
