akonadi
20 #ifndef AKONADI_SESSION_P_H
21 #define AKONADI_SESSION_P_H
23 #include "akonadiprivate_export.h"
25 #include "imapparser_p.h"
27 #include "servermanager.h"
29 #include <QtNetwork/QLocalSocket>
31 #include <QtCore/QQueue>
32 #include <QtCore/QThreadStorage>
52 virtual void init(
const QByteArray &sessionId );
56 void forceReconnect();
58 virtual void reconnect();
60 void socketDisconnected();
61 void socketError( QLocalSocket::LocalSocketError error );
62 void socketError( QAbstractSocket::SocketError error );
65 void startJob(
Job* job );
71 void endJob(
Job* job );
73 void jobDone( KJob* job );
75 void jobDestroyed( QObject *job );
77 bool canPipelineNext();
89 static void createDefaultSession(
const QByteArray &sessionId );
95 static void setDefaultSession(
Session *session );
100 virtual void addJob(
Job* job );
110 void writeData(
const QByteArray &data );
115 void itemRevisionChanged( Akonadi::Item::Id itemId,
int oldRevision,
int newRevision );
117 static int minimumProtocolVersion() {
return 37; }
122 static QString connectionFile();
125 QByteArray sessionId;
133 QQueue<Job*> pipeline;
Base class for all actions in the Akonadi storage.
A communication session with the Akonadi storage.
State
Enum for the various states the server can be in.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Jul 21 2014 08:03:55 by
doxygen 1.8.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.