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();
60 void socketDisconnected();
61 void socketError(QLocalSocket::LocalSocketError error);
62 void socketError(QAbstractSocket::SocketError error);
65 void startJob(
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);
117 static int minimumProtocolVersion()
128 QByteArray sessionId;
136 QQueue<Job *> pipeline;
virtual void addJob(Job *job)
Associates the given Job object with this session.
void itemRevisionChanged(Akonadi::Item::Id itemId, int oldRevision, int newRevision)
Propagate item revision changes to following jobs.
A communication session with the Akonadi storage.
virtual void reconnect()
Attemps to establish a connections to the Akonadi server.
Base class for all actions in the Akonadi storage.
State
Enum for the various states the server can be in.
static QString connectionFile()
Default location for akonadiconnectionrc.
int nextTag()
Returns the next IMAP tag.
void writeData(const QByteArray &data)
Sends the given raw data.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by
doxygen 1.8.18 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.