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>
51 virtual void init(
const QByteArray &sessionId );
55 void forceReconnect();
57 virtual void reconnect();
59 void socketDisconnected();
60 void socketError( QLocalSocket::LocalSocketError error );
61 void socketError( QAbstractSocket::SocketError error );
64 void startJob(
Job* job );
70 void endJob(
Job* job );
72 void jobDone( KJob* job );
74 void jobDestroyed( QObject *job );
76 bool canPipelineNext();
88 static void createDefaultSession(
const QByteArray &sessionId );
94 static void setDefaultSession(
Session *session );
99 virtual void addJob(
Job* job );
109 void writeData(
const QByteArray &data );
114 void itemRevisionChanged( Akonadi::Item::Id itemId,
int oldRevision,
int newRevision );
116 static int minimumProtocolVersion() {
return 33; }
121 static QString connectionFile();
124 QByteArray sessionId;
132 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 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.