KIMAP Library
20 #ifndef KIMAP_SESSION_P_H
21 #define KIMAP_SESSION_P_H
24 #include "sessionuiproxy.h"
26 #include <ktcpsocket.h>
28 #include <QtCore/QObject>
29 #include <QtCore/QQueue>
30 #include <QtCore/QString>
31 #include <QtCore/QTimer>
42 class KIMAP_EXPORT SessionPrivate :
public QObject
49 explicit SessionPrivate( Session *session );
50 virtual ~SessionPrivate();
52 void addJob(Job *job);
54 void startSsl(
const KTcpSocket::SslVersion &version);
57 KTcpSocket::SslVersion negotiatedEncryption()
const;
59 void setSocketTimeout(
int ms );
60 int socketTimeout()
const;
63 void encryptionNegotiationResult(
bool);
66 void onEncryptionNegotiationResult(
bool isEncrypted, KTcpSocket::SslVersion sslVersion);
67 void onSocketTimeout();
70 void jobDone( KJob* );
72 void responseReceived(
const KIMAP::Message& );
74 void socketConnected();
75 void socketDisconnected();
76 void socketError(KTcpSocket::Error);
77 void socketActivity();
79 void handleSslError(
const KSslErrorUiData &errorData );
84 void setState(Session::State state);
86 void startSocketTimer();
87 void stopSocketTimer();
88 void restartSocketTimer();
92 bool isSocketConnected;
95 SessionLogger *logger;
96 SessionThread *thread;
97 SessionUiProxy::Ptr uiProxy;
113 KTcpSocket::SslVersion sslVersion;
115 int socketTimerInterval;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.