akonadi
itemsearchjob.h
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition itemfetchscope.h:70
void AKONADI_DEPRECATED setQuery(const QString &query)
Sets the search query in Akonadi search metalanguage format (JSON)
Definition itemsearchjob.cpp:138
bool isRemoteSearchEnabled() const
Returns whether remote search is enabled.
Definition itemsearchjob.cpp:209
void doStart()
This method must be reimplemented in the concrete jobs.
Definition itemsearchjob.cpp:214
AKONADI_DEPRECATED ItemSearchJob(const QString &query, QObject *parent=0)
Creates an item search job.
Definition itemsearchjob.cpp:126
QStringList mimeTypes() const
Returns list of mime types to search in.
Definition itemsearchjob.cpp:185
static AKONADI_DEPRECATED QUrl akonadiItemIdUri()
Returns an URI that represents a predicate that is always added to the Nepomuk resource by the Akonad...
Definition itemsearchjob.cpp:278
void setMimeTypes(const QStringList &mimeTypes)
Search only for items of given mime types.
Definition itemsearchjob.cpp:178
virtual void doHandleResponse(const QByteArray &tag, const QByteArray &data)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition itemsearchjob.cpp:242
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
Item::List items() const
Returns the items that matched the search query.
Definition itemsearchjob.cpp:271
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:152
A query that can be passed to ItemSearchJob or others.
Definition searchquery.h:129
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.