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()
125 static QString connectionFile();
128 QByteArray sessionId;
136 QQueue<Job *> pipeline;
Base class for all actions in the Akonadi storage.
A communication session with the Akonadi storage.
FreeBusyManager::Singleton.
State
Enum for the various states the server can be in.
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Jul 29 2015 19:21:04 by
doxygen 1.8.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.