KIO
#include <kurifilter.h>
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 50 of file kurifilter.h.
Constructor & Destructor Documentation
KUriFilterSearchProvider::KUriFilterSearchProvider | ( | ) |
Default constructor.
Definition at line 116 of file kurifilter.cpp.
KUriFilterSearchProvider::KUriFilterSearchProvider | ( | const KUriFilterSearchProvider & | other | ) |
Copy constructor.
Definition at line 121 of file kurifilter.cpp.
|
virtual |
Destructor.
Definition at line 126 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 151 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 131 of file kurifilter.cpp.
QString KUriFilterSearchProvider::iconName | ( | ) | const |
Returns the icon name associated with the search provider when available.
Definition at line 136 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 146 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 141 of file kurifilter.cpp.
KUriFilterSearchProvider & KUriFilterSearchProvider::operator= | ( | const KUriFilterSearchProvider & | other | ) |
Assignment operator.
Definition at line 159 of file kurifilter.cpp.
|
protected |
Definition at line 168 of file kurifilter.cpp.
|
protected |
Definition at line 173 of file kurifilter.cpp.
|
protected |
Definition at line 183 of file kurifilter.cpp.
|
protected |
Definition at line 178 of file kurifilter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.