akonadi
20 #ifndef AKONADI_ITEMSEARCHJOB_H
21 #define AKONADI_ITEMSEARCHJOB_H
23 #include <akonadi/item.h>
24 #include <akonadi/job.h>
25 #include <akonadi/collection.h>
27 #include <QtCore/QUrl>
32 class ItemSearchJobPrivate;
79 explicit AKONADI_DEPRECATED
ItemSearchJob(
const QString &query, QObject *parent = 0 );
88 explicit ItemSearchJob(
const SearchQuery &query, QObject *parent = 0 );
100 void AKONADI_DEPRECATED setQuery(
const QString &query );
139 Item::List items()
const;
153 static AKONADI_DEPRECATED QUrl akonadiItemIdUri();
161 void setMimeTypes(
const QStringList &mimeTypes );
168 QStringList mimeTypes()
const;
202 void setRecursive(
bool recursive );
209 bool isRecursive()
const;
235 void setRemoteSearchEnabled(
bool enabled );
242 bool isRemoteSearchEnabled()
const;
254 void itemsReceived(
const Akonadi::Item::List &items );
258 virtual void doHandleResponse(
const QByteArray &tag,
const QByteArray &data );
262 Q_DECLARE_PRIVATE( ItemSearchJob )
264 Q_PRIVATE_SLOT( d_func(),
void timeout() )
Base class for all actions in the Akonadi storage.
A query that can be passed to ItemSearchJob or others.
Specifies which parts of an item should be fetched from the Akonadi storage.
Job that searches for items in the Akonadi storage.
QList< Collection > List
Describes a list of collections.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Jul 21 2014 08:03:53 by
doxygen 1.8.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.