MailTransport
9 #include "mailtransport_export.h"
10 #include "transporttype.h"
17 namespace MailTransport
21 class TransportManagerPrivate;
37 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.pim.TransportManager")
40 friend class TransportManagerPrivate;
58 void loadPasswordsAsync();
69 Transport *transportById(
int id,
bool def =
true)
const;
115 MAILTRANSPORT_DEPRECATED
TransportJob *createTransportJob(
int transportId);
137 MAILTRANSPORT_DEPRECATED
void schedule(
TransportJob *job);
143 void createDefaultTransport();
160 bool showTransportCreationDialog(
QWidget *parent, ShowCondition showCondition = Always);
179 Q_SCRIPTABLE
bool isEmpty()
const;
194 Q_SCRIPTABLE
QString defaultTransportName()
const;
200 Q_SCRIPTABLE
int defaultTransportId()
const;
206 Q_SCRIPTABLE
void setDefaultTransport(
int id);
212 Q_SCRIPTABLE
void removeTransport(
int id);
214 void removePasswordFromWallet(
int id);
220 Q_SCRIPTABLE
void transportsChanged();
227 Q_SCRIPTABLE
void changesCommitted();
234 void passwordsChanged();
241 void transportRemoved(
int id,
const QString &name);
249 void transportRenamed(
int id,
const QString &oldName,
const QString &newName);
255 void loadPasswords();
264 void emitChangesCommitted();
265 void updatePluginList();
268 std::unique_ptr<TransportManagerPrivate>
const d;
270 Q_PRIVATE_SLOT(d,
void slotTransportsChanged())
Central transport management interface.
Abstract base class for all mail transport jobs.
ShowCondition
Describes when to show the transport creation dialog.
@ Always
Show the transport creation dialog unconditionally.
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 Thu Mar 23 2023 04:19:12 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.