00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef MAILTRANSPORT_TRANSPORTCOMBOBOX_H
00021 #define MAILTRANSPORT_TRANSPORTCOMBOBOX_H
00022
00023 #include <mailtransport/mailtransport_export.h>
00024 #include <mailtransport/transportbase.h>
00025
00026 #include <KDE/KComboBox>
00027
00028 class TransportComboBoxPrivate;
00029
00030 namespace MailTransport {
00031
00036 class MAILTRANSPORT_EXPORT TransportComboBox : public KComboBox
00037 {
00038 Q_OBJECT
00039
00040 public:
00045 TransportComboBox( QWidget *parent = 0 );
00046
00047 ~TransportComboBox();
00048
00052 int currentTransportId() const;
00053
00058 void setCurrentTransport( int transportId );
00059
00063 TransportBase::EnumType::type transportType() const;
00064
00065 private Q_SLOTS:
00066 void fillComboBox();
00067
00068 private:
00069 TransportComboBoxPrivate *const d;
00070 };
00071
00072 }
00073
00074 #endif // MAILTRANSPORT_TRANSPORTCOMBOBOX_H