mailtransport
20 #ifndef MAILTRANSPORT_SOCKET_H
21 #define MAILTRANSPORT_SOCKET_H
23 #include <mailtransport/mailtransport_export.h>
25 #include <QtNetwork/QSslSocket>
27 namespace MailTransport {
59 virtual void reconnect();
64 virtual void write(
const QString &text );
69 virtual bool available();
74 void setProtocol(
const QString &proto );
79 void setServer(
const QString &server );
85 void setPort(
int port );
90 void setSecure(
bool what );
98 Q_DECLARE_PRIVATE(
Socket )
99 SocketPrivate *
const d;
101 Q_PRIVATE_SLOT( d,
void slotConnected() )
102 Q_PRIVATE_SLOT( d,
void slotStateChanged( QAbstractSocket::SocketState state ) )
103 Q_PRIVATE_SLOT( d,
void slotModeChanged( QSslSocket::SslMode state ) )
104 Q_PRIVATE_SLOT( d,
void slotSocketRead() )
131 #endif // MAILTRANSPORT_SOCKET_H
Responsible for communicating with the server, it's designed to work with the ServerTest class...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:48 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.