akonadi
Akonadi::CollectionSelectJob Class Reference
#include <collectionselectjob.h>

Detailed Description
For internal use only.
Selects a specific collection. See RFC 3501 for select semantics.
Definition at line 34 of file collectionselectjob.h.
Public Member Functions | |
CollectionSelectJob (const Collection &collection, QObject *parent=0) | |
void | setRetrieveStatus (bool status) |
int | unseen () const |
virtual | ~CollectionSelectJob () |
Protected Member Functions | |
void | doHandleResponse (const QByteArray &tag, const QByteArray &data) |
void | doStart () |
Constructor & Destructor Documentation
CollectionSelectJob::CollectionSelectJob | ( | const Collection & | collection, | |
QObject * | parent = 0 | |||
) | [explicit] |
Creates a new collection select job.
- Parameters:
-
collection The collection to select. parent The parent object.
Definition at line 43 of file collectionselectjob.cpp.
CollectionSelectJob::~CollectionSelectJob | ( | ) | [virtual] |
Member Function Documentation
void CollectionSelectJob::doHandleResponse | ( | const QByteArray & | tag, | |
const QByteArray & | data | |||
) | [protected, virtual] |
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
It will be called on received data from the backend. The default implementation does nothing.
- Parameters:
-
tag The tag of the corresponding command, empty if this is an untagged response. data The received data.
Reimplemented from Akonadi::Job.
Definition at line 65 of file collectionselectjob.cpp.
void CollectionSelectJob::doStart | ( | ) | [protected, virtual] |
This method must be reimplemented in the concrete jobs.
It will be called after the job has been started and a connection to the Akonadi backend has been established.
Implements Akonadi::Job.
Definition at line 55 of file collectionselectjob.cpp.
void CollectionSelectJob::setRetrieveStatus | ( | bool | status | ) |
Enable fetching of collection status details.
Definition at line 87 of file collectionselectjob.cpp.
int CollectionSelectJob::unseen | ( | ) | const |
Returns the unseen count of the selected folder, -1 if not available.
Definition at line 80 of file collectionselectjob.cpp.
The documentation for this class was generated from the following files: