Akonadi
searchcreatejob.cpp
54SearchCreateJob::SearchCreateJob(const QString &name, const SearchQuery &searchQuery, QObject *parent)
virtual bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition job.cpp:381
Job that creates a virtual/search collection in the Akonadi storage.
Definition searchcreatejob.h:50
void setSearchCollections(const QList< Collection > &collections)
Sets list of collections to search in.
Definition searchcreatejob.cpp:63
QList< Collection > searchCollections() const
Returns list of collections to search in.
Definition searchcreatejob.cpp:70
Collection createdCollection() const
Returns the newly created search collection once the job finished successfully.
Definition searchcreatejob.cpp:133
void setSearchMimeTypes(const QStringList &mimeTypes)
Sets list of mime types of items that search results can contain.
Definition searchcreatejob.cpp:75
QStringList searchMimeTypes() const
Returns list of mime types that search results can contain.
Definition searchcreatejob.cpp:82
SearchCreateJob(const QString &name, const SearchQuery &searchQuery, QObject *parent=nullptr)
Creates a search create job.
Definition searchcreatejob.cpp:54
void setRemoteSearchEnabled(bool enabled)
Sets whether resources should be queried too.
Definition searchcreatejob.cpp:99
void setRecursive(bool recursive)
Sets whether the search should recurse into collections.
Definition searchcreatejob.cpp:87
bool isRemoteSearchEnabled() const
Returns whether remote search is enabled.
Definition searchcreatejob.cpp:106
bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override
Reimplemented from Akonadi::Job.
Definition searchcreatejob.cpp:139
A query that can be passed to ItemSearchJob or others.
Definition searchquery.h:117
Helper integration between Akonadi and Qt.
KSERVICE_EXPORT KService::List query(FilterFunc filterFunc)
QString name(StandardAction id)
void reserve(qsizetype size)
QString arg(Args &&... args) const const
QString fromUtf8(QByteArrayView str)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.