• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::CollectionSelectJob

Akonadi::CollectionSelectJob Class Reference

#include <collectionselectjob.h>

Inheritance diagram for Akonadi::CollectionSelectJob:

Inheritance graph
[legend]

List of all members.


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 ()

Detailed Description

For internal use only.

Selects a specific collection. See RFC 3501 for select semantics.

Definition at line 34 of file collectionselectjob.h.


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]

Destroys this job.

Definition at line 51 of file collectionselectjob.cpp.


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:
  • collectionselectjob.h
  • collectionselectjob.cpp

akonadi

Skip menu "akonadi"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal