MailTransport
9 #include "mailtransport_export.h"
10 #include "transportbase.h"
11 #include "transporttype.h"
15 class TransportPrivate;
20 namespace MailTransport
32 class MAILTRANSPORT_EXPORT
Transport :
public TransportBase
36 Q_PROPERTY(
QString password READ password WRITE setPassword NOTIFY passwordChanged)
37 Q_PROPERTY(
TransportType transportType READ transportType NOTIFY transportTypeChanged)
40 friend class TransportManagerPrivate;
53 Q_REQUIRED_RESULT Q_INVOKABLE
bool isValid()
const;
58 Q_REQUIRED_RESULT
QString password()
const;
64 void setPassword(
const QString &passwd);
71 void forceUniqueName();
83 void updatePasswordState();
90 Q_REQUIRED_RESULT
bool isComplete()
const;
95 Q_REQUIRED_RESULT
QString authenticationTypeString()
const;
104 Q_REQUIRED_RESULT
static QString authenticationTypeString(
int type);
130 void usrRead()
override;
131 bool usrSave()
override;
136 Q_REQUIRED_RESULT
bool needsWalletMigration()
const;
141 void migrateToWallet();
152 void passwordLoaded();
156 void passwordChanged();
160 void transportTypeChanged();
163 void readTransportPasswordFinished(QKeychain::Job *baseJob);
167 std::unique_ptr<TransportPrivate>
const d;
Central transport management interface.
A representation of a transport type.
Represents the settings of a specific mail transport.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 03:57:51 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.