Diffstat (limited to 'noncore/apps/opie-console/iolayerbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/iolayerbase.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/iolayerbase.cpp b/noncore/apps/opie-console/iolayerbase.cpp index 0f64d6a..95c291f 100644 --- a/noncore/apps/opie-console/iolayerbase.cpp +++ b/noncore/apps/opie-console/iolayerbase.cpp | |||
@@ -27,5 +27,6 @@ namespace { | |||
27 | id_baud_9600, | 27 | id_baud_9600, |
28 | id_baud_4800, | 28 | id_baud_4800, |
29 | id_baud_2400 | 29 | id_baud_2400, |
30 | id_baud_1200 | ||
30 | }; | 31 | }; |
31 | 32 | ||
@@ -91,4 +92,5 @@ IOLayerBase::IOLayerBase( QWidget* par, const char* name ) | |||
91 | m_speedBox->insertItem(tr("4800 baud"), id_baud_4800 ); | 92 | m_speedBox->insertItem(tr("4800 baud"), id_baud_4800 ); |
92 | m_speedBox->insertItem(tr("2400 baud"), id_baud_2400 ); | 93 | m_speedBox->insertItem(tr("2400 baud"), id_baud_2400 ); |
94 | m_speedBox->insertItem(tr("1200 baud"), id_baud_1200); | ||
93 | }; | 95 | }; |
94 | IOLayerBase::~IOLayerBase() { | 96 | IOLayerBase::~IOLayerBase() { |
@@ -143,4 +145,7 @@ void IOLayerBase::setSpeed( Speed sp ) { | |||
143 | index = id_baud_2400; | 145 | index = id_baud_2400; |
144 | break; | 146 | break; |
147 | case Baud_1200: | ||
148 | index = id_baud_1200; | ||
149 | break; | ||
145 | default: | 150 | default: |
146 | case Baud_9600: | 151 | case Baud_9600: |
@@ -224,4 +229,7 @@ IOLayerBase::Speed IOLayerBase::speed()const{ | |||
224 | return Baud_2400; | 229 | return Baud_2400; |
225 | break; | 230 | break; |
231 | case id_baud_1200: | ||
232 | return Baud_1200; | ||
233 | break; | ||
226 | default: | 234 | default: |
227 | case id_baud_9600: | 235 | case id_baud_9600: |