akonadi
#include <session_p.h>
|
| SessionPrivate (Session *parent) |
|
virtual void | addJob (Job *job) |
|
bool | canPipelineNext () |
|
void | dataReceived () |
|
void | doStartNext () |
|
void | endJob (Job *job) |
|
void | forceReconnect () |
|
virtual void | init (const QByteArray &sessionId) |
|
void | itemRevisionChanged (Akonadi::Item::Id itemId, int oldRevision, int newRevision) |
|
void | jobDestroyed (QObject *job) |
|
void | jobDone (KJob *job) |
|
void | jobWriteFinished (Akonadi::Job *job) |
|
int | nextTag () |
|
virtual void | reconnect () |
|
void | serverStateChanged (ServerManager::State) |
|
void | socketDisconnected () |
|
void | socketError (QAbstractSocket::SocketError error) |
|
void | socketError (QLocalSocket::LocalSocketError error) |
|
void | startJob (Job *job) |
|
void | startNext () |
|
void | writeData (const QByteArray &data) |
|
Definition at line 42 of file session_p.h.
◆ SessionPrivate()
SessionPrivate::SessionPrivate |
( |
Session * |
parent | ) |
|
|
explicit |
◆ ~SessionPrivate()
virtual Akonadi::SessionPrivate::~SessionPrivate |
( |
| ) |
|
|
inlinevirtual |
◆ addJob()
virtual void Akonadi::SessionPrivate::addJob |
( |
Job * |
job | ) |
|
|
virtual |
Associates the given Job object with this session.
◆ connectionFile()
static QString Akonadi::SessionPrivate::connectionFile |
( |
| ) |
|
|
static |
Default location for akonadiconnectionrc.
◆ createDefaultSession()
void SessionPrivate::createDefaultSession |
( |
const QByteArray & |
sessionId | ) |
|
|
static |
Creates a new default session for this thread with the given sessionId
.
The session can be accessed later by defaultSession().
You only need to call this method if you want that the default session has a special custom id, otherwise a random unique id is used automatically.
- Parameters
-
sessionId | the id of new default session |
Definition at line 481 of file session.cpp.
◆ endJob()
void Akonadi::SessionPrivate::endJob |
( |
Job * |
job | ) |
|
For testing purposes only. See FakeSesson.
- Parameters
-
◆ forceReconnect()
void SessionPrivate::forceReconnect |
( |
| ) |
|
Disconnects a previously existing connection and tries to reconnect.
Definition at line 442 of file session.cpp.
◆ init()
void SessionPrivate::init |
( |
const QByteArray & |
sessionId | ) |
|
|
virtual |
◆ itemRevisionChanged()
void Akonadi::SessionPrivate::itemRevisionChanged |
( |
Akonadi::Item::Id |
itemId, |
|
|
int |
oldRevision, |
|
|
int |
newRevision |
|
) |
| |
Propagate item revision changes to following jobs.
◆ minimumProtocolVersion()
static int Akonadi::SessionPrivate::minimumProtocolVersion |
( |
| ) |
|
|
inlinestatic |
◆ nextTag()
int Akonadi::SessionPrivate::nextTag |
( |
| ) |
|
Returns the next IMAP tag.
◆ reconnect()
virtual void Akonadi::SessionPrivate::reconnect |
( |
| ) |
|
|
virtual |
Attemps to establish a connections to the Akonadi server.
◆ setDefaultSession()
void SessionPrivate::setDefaultSession |
( |
Session * |
session | ) |
|
|
static |
Sets the default session.
Only for unit tests.
Definition at line 491 of file session.cpp.
◆ writeData()
void Akonadi::SessionPrivate::writeData |
( |
const QByteArray & |
data | ) |
|
Sends the given raw data.
◆ connected
bool Akonadi::SessionPrivate::connected |
◆ currentJob
Job* Akonadi::SessionPrivate::currentJob |
◆ jobRunning
bool Akonadi::SessionPrivate::jobRunning |
◆ logFile
QFile* Akonadi::SessionPrivate::logFile |
◆ mParent
Session* Akonadi::SessionPrivate::mParent |
◆ parser
ImapParser* Akonadi::SessionPrivate::parser |
◆ pipeline
QQueue<Job *> Akonadi::SessionPrivate::pipeline |
◆ protocolVersion
int Akonadi::SessionPrivate::protocolVersion |
◆ queue
QQueue<Job *> Akonadi::SessionPrivate::queue |
◆ sessionId
QByteArray Akonadi::SessionPrivate::sessionId |
◆ socket
QIODevice* Akonadi::SessionPrivate::socket |
◆ theNextTag
int Akonadi::SessionPrivate::theNextTag |
The documentation for this class was generated from the following files:
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.