mailtransport
#include <transportcombobox.h>
Inherits KComboBox.
Public Member Functions | |
TransportComboBox (QWidget *parent=0) | |
int | currentTransportId () const |
void | setCurrentTransport (int transportId) |
TransportBase::EnumType::type | transportType () const |
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.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:54 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.