MailTransport::TransportComboBox Class Reference

A combo-box for selecting a mail transport. More...

#include <transportcombobox.h>

Inherits KComboBox.

List of all members.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys