MailTransport
transportcombobox.cpp
55 connect(TransportManager::self(), &TransportManager::transportRemoved, this, &TransportComboBox::transportRemoved);
63 return d->transportProxyModel->mapToSource(d->transportProxyModel->index(currentIndex(), MailTransport::TransportModel::TransportIdentifierRole))
89void TransportComboBox::setTransportActivitiesAbstract(TransportActivitiesAbstract *activitiesAbstract)
A combo-box for selecting a mail transport.
Definition transportcombobox.h:27
TransportComboBox(QWidget *parent=nullptr)
Creates a new mail transport selection combo box.
Definition transportcombobox.cpp:50
bool setCurrentTransport(int transportId)
Selects the given transport.
Definition transportcombobox.cpp:68
MailTransport::TransportActivitiesAbstract * transportActivitiesAbstract() const
Definition transportcombobox.cpp:84
void setTransportActivitiesAbstract(MailTransport::TransportActivitiesAbstract *activitiesAbstract)
Definition transportcombobox.cpp:89
int currentTransportId() const
Returns identifier of the currently selected mail transport.
Definition transportcombobox.cpp:61
QString transportType() const
Returns the type of the selected transport.
Definition transportcombobox.cpp:79
void transportRemoved(int id, const QString &name)
Emitted when a transport is deleted.
Transport * transportById(Transport::Id id, bool def=true) const
Returns the Transport object with the given id.
Definition transportmanager.cpp:140
static TransportManager * self()
Returns the TransportManager instance.
Definition transportmanager.cpp:131
Q_SCRIPTABLE int defaultTransportId() const
Returns the default transport identifier.
Definition transportmanager.cpp:327
void clear()
currentIndex
void setModelColumn(int visibleColumn)
virtual void setModel(QAbstractItemModel *model)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual void setSourceModel(QAbstractItemModel *sourceModel) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.