Logo Search packages:      
Sourcecode: mailody version File versions  Download package

Mailody::SocketSafe Class Reference

#include <socketsafe.h>

List of all members.


Detailed Description

Responsible for communicating with the server with safe IMAPs
Author:
Tom Albers <tomalbers@kde.nl>

Definition at line 36 of file socketsafe.h.


Public Types

enum  Secure { NONE = 0, SSL, TLS, CLEAR }

Signals

void connected ()
void data (const QString &)
void disconnected ()
void error (const QString &)
void hostFound ()
void tlscomplete ()

Public Member Functions

void aboutToClose ()
virtual bool available ()
virtual void reconnect ()
 SocketSafe (QObject *parent, const char *name, const QString &server, int port, Secure safe)
virtual void write (const QString &text)
 ~SocketSafe ()

Private Slots

void cryptedSocketRead ()
void slotDisconnected ()
void slotError (int i)
void slotStateChanged (int)
void ssl_closed ()
void ssl_error (int x)
void ssl_handshaken ()
void ssl_readyReadOutgoing (int)
void unCryptedReadyRead ()

Private Member Functions

QPtrList< QCA::Cert > getRootCerts (const QString &store)
void login ()
QString resultToString (int result)
void showCertInfo (const QCA::Cert &cert)

Private Attributes

QCA::Cert cert
bool m_aboutToClose
bool m_crypted
int m_port
Secure m_safe
QString m_server
KNetwork::KBufferedSocket * m_socket
QCA::TLS * m_ssl
QPtrList< QCA::Cert > rootCerts

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index