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 );
130 QString fakeHostname();
137 void setProgressBar( QProgressBar *pb );
142 QProgressBar *progressBar();
148 void setProtocol(
const QString &protocol );
165 QList<int> normalProtocols();
171 bool isNormalPossible();
179 QList<int> tlsProtocols();
186 QList<int> secureProtocols();
192 bool isSecurePossible();
201 QList<Capability> capabilities()
const;
208 void finished( QList<int> );
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-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:01 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.