Akonadi
itemsearchjob.h
31 * query.addTerm(SearchTerm("Date", QDateTime(QDate( 2014, 01, 27), QTime(00, 00, 00)), SearchTerm::CondGreaterThan);
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition itemfetchscope.h:58
bool isRemoteSearchEnabled() const
Returns whether remote search is enabled.
Definition itemsearchjob.cpp:209
bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition itemsearchjob.cpp:237
QStringList mimeTypes() const
Returns list of mime types to search in.
Definition itemsearchjob.cpp:185
void setMimeTypes(const QStringList &mimeTypes)
Search only for items of given mime types.
Definition itemsearchjob.cpp:178
void setTagFetchScope(const TagFetchScope &fetchScope)
Sets the tag fetch scope.
Definition itemsearchjob.cpp:152
void setRecursive(bool recursive)
Sets whether the search should recurse into collections.
Definition itemsearchjob.cpp:190
Collection::List searchCollections() const
Returns list of collections to search.
Definition itemsearchjob.cpp:173
void setRemoteSearchEnabled(bool enabled)
Sets whether resources should be queried too.
Definition itemsearchjob.cpp:202
ItemSearchJob(QObject *parent=nullptr)
Creates an invalid search job.
Definition itemsearchjob.cpp:115
Item::List items() const
Returns the items that matched the search query.
Definition itemsearchjob.cpp:262
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition itemsearchjob.cpp:214
void itemsReceived(const Akonadi::Item::List &items)
This signal is emitted whenever new matching items have been fetched completely.
void setSearchCollections(const Collection::List &collections)
Search only in given collections.
Definition itemsearchjob.cpp:166
void setFetchScope(const ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition itemsearchjob.cpp:138
A query that can be passed to ItemSearchJob or others.
Definition searchquery.h:117
Specifies which parts of a tag should be fetched from the Akonadi storage.
Definition tagfetchscope.h:23
Helper integration between Akonadi and Qt.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.