• Skip to content
  • Skip to link menu
KDE 4.8 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • SessionPrivate
Public Member Functions | Static Public Member Functions | Public Attributes
Akonadi::SessionPrivate Class Reference

#include <session_p.h>

List of all members.

Public Member Functions

 SessionPrivate (Session *parent)
virtual void addJob (Job *job)
bool canPipelineNext ()
void dataReceived ()
void doStartNext ()
void endJob (Job *job)
virtual void init (const QByteArray &sessionId)
void itemRevisionChanged (Akonadi::Item::Id itemId, int oldRevision, int newRevision)
void jobDestroyed (QObject *job)
void jobDone (KJob *job)
void jobWriteFinished (Akonadi::Job *job)
int nextTag ()
void reconnect ()
void serverStateChanged (ServerManager::State)
void socketDisconnected ()
void socketError (QLocalSocket::LocalSocketError error)
void socketError (QAbstractSocket::SocketError error)
void startJob (Job *job)
void startNext ()
void writeData (const QByteArray &data)

Static Public Member Functions

static void createDefaultSession (const QByteArray &sessionId)
static int minimumProtocolVersion ()

Public Attributes

bool connected
Job * currentJob
bool jobRunning
Session * mParent
ImapParser * parser
QQueue< Job * > pipeline
int protocolVersion
QQueue< Job * > queue
QByteArray sessionId
QIODevice * socket
int theNextTag

Detailed Description

Definition at line 41 of file session_p.h.


Member Function Documentation

virtual void Akonadi::SessionPrivate::addJob ( Job *  job) [virtual]

Associates the given Job object with this session.

void SessionPrivate::createDefaultSession ( const QByteArray &  sessionId) [static]

Creates a new default session for this thread with the given sessionId.

The session can be accessed later by defaultSession().

You only need to call this method if you want that the default session has a special custom id, otherwise a random unique id is used automatically.

Definition at line 405 of file session.cpp.

void Akonadi::SessionPrivate::endJob ( Job *  job)

For testing purposes only. See FakeSesson.

void Akonadi::SessionPrivate::itemRevisionChanged ( Akonadi::Item::Id  itemId,
int  oldRevision,
int  newRevision 
)

Propagate item revision changes to following jobs.

int Akonadi::SessionPrivate::nextTag ( )

Returns the next IMAP tag.

void Akonadi::SessionPrivate::writeData ( const QByteArray &  data)

Sends the given raw data.


The documentation for this class was generated from the following files:
  • session_p.h
  • session.cpp

akonadi

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.6.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