akonadi
itemsearchjob.cpp
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:127
ItemSearchJob(const QString &query, QObject *parent=0)
Creates an item search job.
Definition: itemsearchjob.cpp:79
Item::List items() const
Returns the items that matched the search query.
Definition: itemsearchjob.cpp:154
static QByteArray itemFetchScopeToByteArray(const ItemFetchScope &fetchScope)
Converts a given ItemFetchScope object into a protocol representation.
Definition: protocolhelper.cpp:298
static Session * defaultSession()
Returns the default session for this thread.
Definition: session.cpp:444
void setFetchScope(const ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition: itemsearchjob.cpp:102
static QUrl akonadiItemIdUri()
Returns an URI that represents a predicate that is always added to the Nepomuk resource by the Akonad...
Definition: itemsearchjob.cpp:161
void doStart()
This method must be reimplemented in the concrete jobs.
Definition: itemsearchjob.cpp:116
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition: itemfetchscope.h:68
Definition: job_p.h:31
void setQuery(const QString &query)
Sets the search query in SPARQL format.
Definition: itemsearchjob.cpp:95
static void parseItemFetchResult(const QList< QByteArray > &lineTokens, Item &item, ProtocolHelperValuePool *valuePool=0)
Parses a single line from an item fetch job result into an Item object.
Definition: protocolhelper.cpp:347
Job that searches for items in the Akonadi storage.
Definition: itemsearchjob.h:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.