class KURIFilterPlugin

Filters a URI. More...

Contains pure virtuals
Definition#include <kurifilter.h>
InheritsQObject (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

Filters a URI.

The KURIFilterPlugin class applies a single filter to a URI.

 KURIFilterPlugin (QObject *parent = 0, const char *name = 0, const QString &pname = QString::null, double pri = 1.0) : QObject(parent, name), m_strName(pname), m_dblPriority(pri)

Constructor to create a filter plugin with a given name and priority.

Parameters:
pnameThe name of the plugin.
priThe priority of the plugin.

QString  name ()

[const virtual]

Return the filter's name.

Returns: A string naming the filter.

Reimplemented from QObject

double  priority ()

[const virtual]

Return the filter's . 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.

Returns: The priority of the filter.

bool  filterURI ( KURL& )

[virtual]

Filter a URI.

Parameters:
uriThe URI to be filtered.

Returns: A boolean indicating whether the URI has been changed or not.

bool  filterURI ( QString &uri )

[virtual]

Filter a string representing a URI.

Parameters:
uriThe URI to be filtered.

Returns: A boolean indicating whether the URI has been changed or not.

KCModuleconfigModule (QWidget *parent = 0, const char *name = 0)

[const pure virtual]

Return a configuration module for the filter. It is the responsability of the caller to delete the module once it is not needed anymore.

Returns: A configuration module, or 0 if the filter isn't configurable.

QString  configName ()

[const virtual]

Return a configuration module for the filter. It is the responsability of the caller to delete the module once it is not needed anymore.

Returns: A configuration module, or 0 if the filter isn't configurable.


Generated by: dfaure@faure on Sun Mar 26 14:24:43 2000, using kdoc 2.0a35.