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