akonadi
#include <persistentsearchattribute.h>

Public Member Functions | |
PersistentSearchAttribute () | |
~PersistentSearchAttribute () | |
QString | queryLanguage () const |
QString | queryString () const |
void | setQueryLanguage (const QString &language) |
void | setQueryString (const QString &query) |
![]() | |
virtual | ~Attribute () |
virtual Attribute * | clone () const =0 |
virtual void | deserialize (const QByteArray &data)=0 |
virtual QByteArray | serialized () const =0 |
virtual QByteArray | type () const =0 |
Additional Inherited Members | |
![]() | |
typedef QList< Attribute * > | List |
Detailed Description
An attribute to store query properties of persistent search collections.
This attribute is attached to persistent search collections automatically when creating a new persistent search with SearchCreateJob. Later on the search query can be changed by modifying this attribute of the persistent search collection with an CollectionModifyJob.
Example:
- Since
- 4.5
Definition at line 71 of file persistentsearchattribute.h.
Constructor & Destructor Documentation
PersistentSearchAttribute::PersistentSearchAttribute | ( | ) |
Creates a new persistent search attribute.
Definition at line 35 of file persistentsearchattribute.cpp.
PersistentSearchAttribute::~PersistentSearchAttribute | ( | ) |
Destroys the persistent search attribute.
Definition at line 40 of file persistentsearchattribute.cpp.
Member Function Documentation
QString PersistentSearchAttribute::queryLanguage | ( | ) | const |
Returns the query language used for this search.
Definition at line 45 of file persistentsearchattribute.cpp.
QString PersistentSearchAttribute::queryString | ( | ) | const |
Returns the query string used for this search.
Definition at line 55 of file persistentsearchattribute.cpp.
void PersistentSearchAttribute::setQueryLanguage | ( | const QString & | language | ) |
Sets the query language used for this search.
- Parameters
-
language the query language
Definition at line 50 of file persistentsearchattribute.cpp.
void PersistentSearchAttribute::setQueryString | ( | const QString & | query | ) |
Sets the query string to be used for this search.
- Parameters
-
query The query string.
Definition at line 60 of file persistentsearchattribute.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 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.