KShortUriFilter

Search for usage in LXR

KShortUriFilter Class Reference

#include <kshorturifilter.h>

Public Slots

void configure ()
 

Public Member Functions

 KShortUriFilter (QObject *parent, const KPluginMetaData &data)
 
bool filterUri (KUriFilterData &data) const override
 

Detailed Description

This is short URL filter class.

A filter that converts short URLs into fully qualified ones.

Author
Dawit Alemayehu adawi.nosp@m.t@kd.nosp@m.e.org
Malte Starostik staro.nosp@m.sti@.nosp@m.zedat.nosp@m..fu-.nosp@m.berli.nosp@m.n.de

Definition at line 28 of file kshorturifilter.h.

Constructor & Destructor Documentation

◆ KShortUriFilter()

KShortUriFilter::KShortUriFilter ( QObject * parent,
const KPluginMetaData & data )
explicit

Definition at line 88 of file kshorturifilter.cpp.

Member Function Documentation

◆ configure

void KShortUriFilter::configure ( )
slot

Definition at line 481 of file kshorturifilter.cpp.

◆ filterUri()

bool KShortUriFilter::filterUri ( KUriFilterData & data) const
override

Converts short URIs into fully qualified valid URIs whenever possible.

Parses any given invalid URI to determine whether it is a known short URI and converts it to its fully qualified version.

Parameters
datathe data to be filtered
Returns
true if the url has been filtered

Definition at line 99 of file kshorturifilter.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.