mailtransport
21 #ifndef MAILTRANSPORT_SERVERTEST_H
22 #define MAILTRANSPORT_SERVERTEST_H
24 #include <mailtransport/mailtransport_export.h>
25 #include <mailtransport/transport.h>
28 #include <QtCore/QHash>
32 namespace MailTransport {
34 class ServerTestPrivate;
44 Q_PROPERTY(
QString server READ server WRITE setServer )
45 Q_PROPERTY(
QString protocol READ protocol WRITE setProtocol )
46 Q_PROPERTY(
QProgressBar *progressBar READ progressBar WRITE setProgressBar )
76 void setServer(
const QString &server );
102 void setPort( Transport::EnumEncryption::type encryptionMode, uint port );
113 int port( Transport::EnumEncryption::type encryptionMode );
125 void setFakeHostname(
const QString &fakeHostname );
148 void setProtocol(
const QString &protocol );
171 bool isNormalPossible();
192 bool isSecurePossible();
212 ServerTestPrivate *const d;
214 Q_PRIVATE_SLOT( d,
void slotNormalPossible() )
215 Q_PRIVATE_SLOT( d,
void slotTlsDone() )
216 Q_PRIVATE_SLOT( d,
void slotSslPossible() )
217 Q_PRIVATE_SLOT( d,
void slotReadNormal( const
QString &text ) )
218 Q_PRIVATE_SLOT( d,
void slotReadSecure( const
QString &text ) )
219 Q_PRIVATE_SLOT( d,
void slotNormalNotPossible() )
220 Q_PRIVATE_SLOT( d,
void slotSslNotPossible() )
221 Q_PRIVATE_SLOT( d,
void slotUpdateProgress() )
226 #endif // MAILTRANSPORT_SERVERTEST_H
POP3 only. The server supports fetching only the headers.
This class can be used to test certain server to see if they support stuff.
Capability
This enumeration has the special capabilities a server might support.
POP3 only. The server supports pipeplining of commands.
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.