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 {
64 ERR_COULD_NOT_CONNECT = KJob::UserDefinedError + 23
67 explicit LoginJob( Session *session );
71 void setUserName(
const QString &userName );
77 QString authorizationName()
const;
90 void setAuthorizationName(
const QString &authorizationName );
93 void setPassword(
const QString &password );
104 QString serverGreeting()
const;
112 void setEncryptionMode(EncryptionMode mode);
118 EncryptionMode encryptionMode();
120 void setAuthenticationMode( AuthenticationMode mode );
123 virtual void doStart();
124 virtual void handleResponse(
const Message &response );
125 virtual void connectionLost();
128 Q_PRIVATE_SLOT( d_func(),
void sslResponse(
bool) )
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.