Akonadi
persistentsearchattribute.cpp
virtual void deserialize(const QByteArray &data)=0
Sets the data of this attribute, using the same encoding as returned by toByteArray().
virtual QByteArray serialized() const =0
Returns a QByteArray representation of the attribute which will be storaged.
bool isRecursive() const
Returns whether the search is recursive.
Definition persistentsearchattribute.cpp:62
PersistentSearchAttribute()
Creates a new persistent search attribute.
Definition persistentsearchattribute.cpp:26
void setRecursive(bool recursive)
Sets whether the search should recurse into collections.
Definition persistentsearchattribute.cpp:67
~PersistentSearchAttribute() override
Destroys the persistent search attribute.
QList< qint64 > queryCollections() const
Returns IDs of collections that will be queried.
Definition persistentsearchattribute.cpp:43
void setQueryCollections(const QList< Collection > &collections)
Sets collections to be queried.
Definition persistentsearchattribute.cpp:48
bool isRemoteSearchEnabled() const
Returns whether remote search is enabled.
Definition persistentsearchattribute.cpp:72
QString queryString() const
Returns the query string used for this search.
Definition persistentsearchattribute.cpp:33
void setQueryString(const QString &query)
Sets the query string to be used for this search.
Definition persistentsearchattribute.cpp:38
void setRemoteSearchEnabled(bool enabled)
Sets whether resources should be queried too.
Definition persistentsearchattribute.cpp:77
Helper integration between Akonadi and Qt.
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
void clear()
qsizetype count() const const
void reserve(qsizetype size)
qsizetype size() const const
QString fromUtf8(QByteArrayView str)
QString number(double n, char format, int precision)
QString join(QChar separator) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:00:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:00:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.