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 );
76 QString authorizationName()
const;
89 void setAuthorizationName(
const QString &authorizationName );
91 QString password()
const;
92 void setPassword(
const QString &password );
103 QString serverGreeting()
const;
111 void setEncryptionMode(EncryptionMode mode);
117 EncryptionMode encryptionMode();
119 void setAuthenticationMode( AuthenticationMode mode );
122 virtual void doStart();
123 virtual void handleResponse(
const Message &response );
124 virtual void connectionLost();
127 Q_PRIVATE_SLOT( d_func(),
void sslResponse(
bool) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:08 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.