mailtransport
transportcombobox.h
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/transportbase.h>
00024 #include <mailtransport/mailtransport_export.h>
00025 #include <kcombobox.h>
00026
00027 class TransportComboBoxPrivate;
00028
00029 namespace MailTransport {
00030
00034 class MAILTRANSPORT_EXPORT TransportComboBox : public KComboBox
00035 {
00036 Q_OBJECT
00037
00038 public:
00043 TransportComboBox( QWidget *parent = 0 );
00044
00045 ~TransportComboBox();
00046
00050 int currentTransportId() const;
00051
00056 void setCurrentTransport( int transportId );
00057
00061 TransportBase::EnumType::type transportType() const;
00062
00063 private Q_SLOTS:
00064 void fillComboBox();
00065
00066 private:
00067 TransportComboBoxPrivate *const d;
00068 };
00069
00070 }
00071
00072 #endif