MailTransport::TransportComboBox Class
class MailTransport::TransportComboBox| Header: | #include <MailTransport/TransportComboBox> |
| CMake: | find_package(KPim6MailTransport REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MailTransport) |
| Inherits: | QComboBox |
Public Functions
| TransportComboBox(QWidget *parent = nullptr) | |
| virtual | ~TransportComboBox() override |
| bool | enablePlasmaActivities() const |
| void | setEnablePlasmaActivities(bool newEnablePlasmaActivities) |
Signals
| void | transportRemoved(Transport::Id id, const QString &name) |
Detailed Description
A combo-box for selecting a mail transport. It is updated automatically when transports are added, changed, or removed.
Member Function Documentation
[explicit] TransportComboBox::TransportComboBox(QWidget *parent = nullptr)
Creates a new mail transport selection combo box. parent The paren widget.
[override virtual noexcept] TransportComboBox::~TransportComboBox()
Destroys the combo box.
bool TransportComboBox::enablePlasmaActivities() const
Returns true if plasma activities filtering is enabled.
See also setEnablePlasmaActivities().
void TransportComboBox::setEnablePlasmaActivities(bool newEnablePlasmaActivities)
Enables or disables plasma activities filtering, according to newEnablePlasmaActivities.
See also enablePlasmaActivities().
[signal] void TransportComboBox::transportRemoved(Transport::Id id, const QString &name)
Emitted when the transport id named name is removed.