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 39 of file transportcombobox.cpp.
Member Function Documentation
int TransportComboBox::currentTransportId | ( | ) | const |
Returns identifier of the currently selected mail transport.
Definition at line 52 of file transportcombobox.cpp.
void TransportComboBox::setCurrentTransport | ( | int | transportId | ) |
Selects the given transport.
- Parameters
-
transportId The transport identifier.
Definition at line 60 of file transportcombobox.cpp.
TransportBase::EnumType::type TransportComboBox::transportType | ( | ) | const |
Returns the type of the selected transport.
Definition at line 68 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 74 of file transportcombobox.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:01 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.