MailTransport
transportmanager.h
Abstract base class for all mail transport jobs.
Definition transportjob.h:31
MAILTRANSPORT_DEPRECATED void schedule(TransportJob *job)
Executes the given transport job.
Definition transportmanager.cpp:199
void transportRemoved(int id, const QString &name)
Emitted when a transport is deleted.
Q_SCRIPTABLE void changesCommitted()
Internal signal to synchronize all TransportManager instances.
void loadPasswordsAsync()
Tries to load passwords asynchronously from KWallet if needed.
Definition transportmanager.cpp:533
void passwordsChanged()
Emitted when passwords have been loaded from the wallet.
TransportType::List types() const
Returns a list of all available transport types.
Definition transportmanager.cpp:172
MAILTRANSPORT_DEPRECATED TransportJob * createTransportJob(Transport::Id transportId)
Creates a mail transport job for the given transport identifier.
Definition transportmanager.cpp:256
Transport * transportById(Transport::Id id, bool def=true) const
Returns the Transport object with the given id.
Definition transportmanager.cpp:140
Q_SCRIPTABLE void transportsChanged()
Emitted when transport settings have changed (by this or any other TransportManager instance).
static TransportManager * self()
Returns the TransportManager instance.
Definition transportmanager.cpp:131
Transport * transportByName(const QString &name, bool def=true) const
Returns the transport object with the given name.
Definition transportmanager.cpp:154
@ IfNoTransportExists
Only show the transport creation dialog if no transport currently.
Definition transportmanager.h:142
void transportRenamed(int id, const QString &oldName, const QString &newName)
Emitted when a transport has been renamed.
QList< Transport * > transports() const
Returns a list of all available transports.
Definition transportmanager.cpp:167
TransportManager()
Singleton class, the only instance resides in the static object sSelf.
Definition transportmanager.cpp:105
Transport * createTransport() const
Creates a new, empty Transport object.
Definition transportmanager.cpp:177
Represents the settings of a specific mail transport.
Definition transport.h:33
QObject(QObject *parent)
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:50 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:50 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.