10#include "kimap_export.h"
20class KIMAP_EXPORT LoginJob :
public Job
23 Q_DECLARE_PRIVATE(LoginJob)
25 friend class SessionPrivate;
36 Q_ENUM(EncryptionMode)
38 enum AuthenticationMode {
49 Q_ENUM(AuthenticationMode)
52 ERR_COULD_NOT_CONNECT = KJob::UserDefinedError + 23
55 explicit LoginJob(
Session *session);
58 [[nodiscard]]
QString userName()
const;
59 void setUserName(
const QString &userName);
65 [[nodiscard]]
QString authorizationName()
const;
78 void setAuthorizationName(
const QString &authorizationName);
80 [[nodiscard]]
QString password()
const;
81 void setPassword(
const QString &password);
92 [[nodiscard]]
QString serverGreeting()
const;
100 void setEncryptionMode(EncryptionMode mode);
106 [[nodiscard]] EncryptionMode encryptionMode();
108 void setAuthenticationMode(AuthenticationMode mode);
111 void doStart()
override;
112 void handleResponse(
const Response &response)
override;
113 void connectionLost()
override;
116 Q_PRIVATE_SLOT(d_func(),
void sslResponse(
bool))
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:06:50 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.