mailtransport
#include <transportcombobox.h>
Inherits KComboBox.
Public Slots | |
void | updateComboboxList () |
Public Member Functions | |
TransportComboBox (QWidget *parent=0) | |
int | currentTransportId () const |
void | setCurrentTransport (int transportId) |
TransportBase::EnumType::type | transportType () const |
Protected Member Functions | |
void | setTransportList (const QList< int > &transportList) |
Detailed Description
A combo-box for selecting a mail transport.
It is updated automatically when transports are added, changed, or removed.
Definition at line 36 of file transportcombobox.h.
Constructor & Destructor Documentation
TransportComboBox::TransportComboBox | ( | QWidget * | parent = 0 | ) |
Creates a new mail transport selection combo box.
- Parameters
-
parent The paren widget.
Definition at line 38 of file transportcombobox.cpp.
Member Function Documentation
int TransportComboBox::currentTransportId | ( | ) | const |
Returns identifier of the currently selected mail transport.
Definition at line 51 of file transportcombobox.cpp.
void TransportComboBox::setCurrentTransport | ( | int | transportId | ) |
Selects the given transport.
- Parameters
-
transportId The transport identifier.
Definition at line 59 of file transportcombobox.cpp.
TransportBase::EnumType::type TransportComboBox::transportType | ( | ) | const |
Returns the type of the selected transport.
Definition at line 67 of file transportcombobox.cpp.
|
slot |
- Since
- 4.11 Because of binary compatibility constraints, fillComboBox() is private. Therefore it must dynamically detect and call this slot.
Definition at line 73 of file transportcombobox.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.