akonadi
persistentsearchattribute.cpp
void clear()
bool isRecursive() const
Returns whether the search is recursive.
Definition: persistentsearchattribute.cpp:93
~PersistentSearchAttribute()
Destroys the persistent search attribute.
Definition: persistentsearchattribute.cpp:50
PersistentSearchAttribute()
Creates a new persistent search attribute.
Definition: persistentsearchattribute.cpp:45
QList< qint64 > queryCollections() const
Returns IDs of collections that will be queried.
Definition: persistentsearchattribute.cpp:75
bool isRemoteSearchEnabled() const
Returns whether remote search is enabled.
Definition: persistentsearchattribute.cpp:103
const T & at(int i) const
virtual void deserialize(const QByteArray &data)=0
Sets the data of this attribute, using the same encoding as returned by toByteArray().
QString join(const QString &separator) const
void setQueryString(const QString &query)
Sets the query string to be used for this search.
Definition: persistentsearchattribute.cpp:70
int size() const
An attribute to store query properties of persistent search collections.
Definition: persistentsearchattribute.h:73
QString number(int n, int base)
void append(const T &value)
QString fromUtf8(const char *str, int size)
AKONADI_DEPRECATED QString queryLanguage() const
Returns the query language used for this search.
Definition: persistentsearchattribute.cpp:55
QString queryString() const
Returns the query string used for this search.
Definition: persistentsearchattribute.cpp:65
void setRecursive(bool recursive)
Sets whether the search should recurse into collections.
Definition: persistentsearchattribute.cpp:98
void setRemoteSearchEnabled(bool enabled)
Sets whether resources should be queried too.
Definition: persistentsearchattribute.cpp:108
QByteArray toLatin1() const
virtual QByteArray serialized() const =0
Returns a QByteArray representation of the attribute which will be storaged.
AKONADI_DEPRECATED void setQueryLanguage(const QString &language)
Sets the query language used for this search.
Definition: persistentsearchattribute.cpp:60
void setQueryCollections(const QList< Collection > &collections)
Sets collections to be queried.
Definition: persistentsearchattribute.cpp:80
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.