You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KURIFilterPlugin.java

75 lines
2.3 KiB

//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.QWidget;
import org.kde.qt.QObject;
/**
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 QObject {
protected KURIFilterPlugin(Class dummy){super((Class) null);}
public native QMetaObject 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 KCModule configModule(QWidget 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();
}