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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQObject;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQObject;

/**

 Base class for URI filter plugins.
 This class applies a single filter to a URI.  All plugins designed
 to provide URI filtering service should inherit from this abstract
 class and provide a concrete implementation.
 All inheriting classes need to implement the pure function
 filterURI.
		@short Abstract class for URI filter plugins.

*/
public class KURIFilterPlugin extends TQObject  {
	protected KURIFilterPlugin(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a filter plugin with a given name and
		 priority.
			@param parent the parent object, or 0 for no parent
			@param name the name of the plugin, or 0 for no name
			@param pri the priority of the plugin.
		     		@short    Constructs a filter plugin with a given name and  priority.
	*/
	/**
		 Returns the filter's name.
				@return A string naming the filter.

		@short    Returns the filter's name.
	*/
	public native String name();
	/**
		 Returns the filter's priority.
			 Each filter has an assigned priority, a float from 0 to 1. Filters
		 with the lowest priority are first given a chance to filter a URI.
				@return The priority of the filter.

		@short    Returns the filter's priority.
	*/
	public native double priority();
	/**
		 Filters a URI.
			@param data the URI data to be filtered.
				@return A boolean indicating whether the URI has been changed.

		@short    Filters a URI.
	*/
	public native boolean filterURI(KURIFilterData data);
	/**
		 Creates a configuration module for the filter.
			 It is the responsibility of the caller to delete the module
		 once it is not needed anymore.
				@return A configuration module, 0 if the filter isn't configurable.

		@short    Creates a configuration module for the filter.
	*/
	public native TDECModule configModule(TQWidget arg1, String arg2);
	/**
		 Returns the name of the configuration module for the filter.
				@return the name of a configuration module or null if none.

		@short    Returns the name of the configuration module for the filter.
	*/
	public native String configName();
}
