KIMAP Library
21 #ifndef KIMAP_LOGINJOB_H
22 #define KIMAP_LOGINJOB_H
24 #include "kimap_export.h"
32 class LoginJobPrivate;
34 class KIMAP_EXPORT LoginJob :
public Job
37 Q_DECLARE_PRIVATE(LoginJob)
39 friend class SessionPrivate;
51 enum AuthenticationMode {
63 ERR_COULD_NOT_CONNECT = KJob::UserDefinedError + 23
66 explicit LoginJob( Session *session );
69 QString userName()
const;
70 void setUserName(
const QString &userName );
72 QString password()
const;
73 void setPassword(
const QString &password );
84 QString serverGreeting()
const;
92 void setEncryptionMode(EncryptionMode mode);
98 EncryptionMode encryptionMode();
100 void setAuthenticationMode( AuthenticationMode mode );
103 virtual void doStart();
104 virtual void handleResponse(
const Message &response );
105 virtual void connectionLost();
108 Q_PRIVATE_SLOT( d_func(),
void sslResponse(
bool) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jan 5 2013 19:44:10 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.