• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KIO

Public Member Functions | Protected Member Functions

KUriFilterSearchProvider Class Reference

Class that holds information about a search provider. More...

#include <kurifilter.h>

List of all members.

Public Member Functions

 KUriFilterSearchProvider ()
 KUriFilterSearchProvider (const KUriFilterSearchProvider &)
virtual ~KUriFilterSearchProvider ()
QString defaultKey () const
QString desktopEntryName () const
QString iconName () const
QStringList keys () const
QString name () const
KUriFilterSearchProvider & operator= (const KUriFilterSearchProvider &)

Protected Member Functions

void setDesktopEntryName (const QString &)
void setIconName (const QString &)
void setKeys (const QStringList &)
void setName (const QString &)

Detailed Description

Class that holds information about a search provider.

Since:
4.6

Definition at line 49 of file kurifilter.h.


Constructor & Destructor Documentation

KUriFilterSearchProvider::KUriFilterSearchProvider ( )

Default constructor.

Definition at line 114 of file kurifilter.cpp.

KUriFilterSearchProvider::KUriFilterSearchProvider ( const KUriFilterSearchProvider &  other)

Copy constructor.

Definition at line 119 of file kurifilter.cpp.

KUriFilterSearchProvider::~KUriFilterSearchProvider ( ) [virtual]

Destructor.

Definition at line 124 of file kurifilter.cpp.


Member Function Documentation

QString KUriFilterSearchProvider::defaultKey ( ) const

Returns the default web shortcut key for this search provider.

Right now this is the same as doing keys().first(), it might however change based on what the backend plugins do.

See also:
keys

Definition at line 149 of file kurifilter.cpp.

QString KUriFilterSearchProvider::desktopEntryName ( ) const

Returns the desktop filename of the search provider without any extension.

For example, if the desktop filename of the search provider was "foobar.desktop", this function will return "foobar".

Definition at line 129 of file kurifilter.cpp.

QString KUriFilterSearchProvider::iconName ( ) const

Returns the icon name associated with the search provider when available.

Definition at line 134 of file kurifilter.cpp.

QStringList KUriFilterSearchProvider::keys ( ) const

Returns all the web shortcut keys associated with this search provider.

See also:
defaultKey

Definition at line 144 of file kurifilter.cpp.

QString KUriFilterSearchProvider::name ( ) const

Returns the descriptive name of the search provider, e.g.

"Google News".

This name comes from the "Name=" property entry in the desktop file that contains the search provider's information.

Definition at line 139 of file kurifilter.cpp.

KUriFilterSearchProvider & KUriFilterSearchProvider::operator= ( const KUriFilterSearchProvider &  other)

Assignment operator.

Definition at line 157 of file kurifilter.cpp.

void KUriFilterSearchProvider::setDesktopEntryName ( const QString &  desktopEntryName) [protected]

Definition at line 166 of file kurifilter.cpp.

void KUriFilterSearchProvider::setIconName ( const QString &  iconName) [protected]

Definition at line 171 of file kurifilter.cpp.

void KUriFilterSearchProvider::setKeys ( const QStringList &  keys) [protected]

Definition at line 181 of file kurifilter.cpp.

void KUriFilterSearchProvider::setName ( const QString &  name) [protected]

Definition at line 176 of file kurifilter.cpp.


The documentation for this class was generated from the following files:
  • kurifilter.h
  • kurifilter.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal