summaryrefslogtreecommitdiff
path: root/kimap/session_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'kimap/session_p.h')
-rw-r--r--kimap/session_p.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/kimap/session_p.h b/kimap/session_p.h
index fd5101b..37bfd57 100644
--- a/kimap/session_p.h
+++ b/kimap/session_p.h
@@ -46,7 +46,7 @@ class KIMAP_EXPORT SessionPrivate : public QObject
friend class Session;
public:
- explicit SessionPrivate( Session *session );
+ SessionPrivate( Session *session );
virtual ~SessionPrivate();
void addJob(Job *job);
@@ -54,6 +54,8 @@ class KIMAP_EXPORT SessionPrivate : public QObject
void startSsl(const KTcpSocket::SslVersion &version);
void sendData( const QByteArray &data );
+ void handleSslError( const KSslErrorUiData &errorData );
+
KTcpSocket::SslVersion negotiatedEncryption() const;
void setSocketTimeout( int ms );
@@ -66,23 +68,20 @@ class KIMAP_EXPORT SessionPrivate : public QObject
void onEncryptionNegotiationResult(bool isEncrypted, KTcpSocket::SslVersion sslVersion);
void onSocketTimeout();
+ private:
+ void startNext();
void doStartNext();
- void jobDone( KJob* );
- void jobDestroyed( QObject* );
- void responseReceived( const KIMAP::Message& );
+ void jobDone( KJob *job );
+ void jobDestroyed( QObject *job );
+ void clearJobQueue();
+ void responseReceived( const KIMAP::Message &response );
+ void setState(Session::State state);
void socketConnected();
void socketDisconnected();
void socketError();
void socketActivity();
- void handleSslError( const KSslErrorUiData &errorData );
-
- private:
- void startNext();
- void clearJobQueue();
- void setState(Session::State state);
-
void startSocketTimer();
void stopSocketTimer();
void restartSocketTimer();