Diffstat (limited to 'noncore/apps/opie-console/iolayerbase.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/iolayerbase.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/iolayerbase.h b/noncore/apps/opie-console/iolayerbase.h index d14f334..74de46a 100644 --- a/noncore/apps/opie-console/iolayerbase.h +++ b/noncore/apps/opie-console/iolayerbase.h | |||
@@ -8,16 +8,18 @@ class QLabel; | |||
8 | class QComboBox; | 8 | class QComboBox; |
9 | class QVBoxLayout; | 9 | class QVBoxLayout; |
10 | class QButtonGroup; | 10 | class QButtonGroup; |
11 | class QRadioButton; | 11 | class QRadioButton; |
12 | class QHBoxLayout; | 12 | class QHBoxLayout; |
13 | class IOLayerBase : public QWidget { | 13 | class IOLayerBase : public QWidget { |
14 | |||
14 | Q_OBJECT | 15 | Q_OBJECT |
16 | |||
15 | public: | 17 | public: |
16 | enum Flow { Hardware, Software, None }; | 18 | enum Flow { Hardware, Software, None }; |
17 | enum Parity{ Odd =2 , Even =1 }; | 19 | enum Parity{ Odd =2 , Even =1, NonePar =0 }; |
18 | enum Speed{ Baud_115200, | 20 | enum Speed{ Baud_115200, |
19 | Baud_57600, | 21 | Baud_57600, |
20 | Baud_38400, | 22 | Baud_38400, |
21 | Baud_19200, | 23 | Baud_19200, |
22 | Baud_9600 }; | 24 | Baud_9600 }; |
23 | IOLayerBase( QWidget* base, const char* name = 0l); | 25 | IOLayerBase( QWidget* base, const char* name = 0l); |
@@ -35,13 +37,13 @@ private: | |||
35 | QLabel* m_speedLabel; | 37 | QLabel* m_speedLabel; |
36 | QComboBox* m_speedBox; | 38 | QComboBox* m_speedBox; |
37 | QButtonGroup* m_groupFlow; | 39 | QButtonGroup* m_groupFlow; |
38 | QRadioButton *m_flowHw, *m_flowSw, *m_flowNone; | 40 | QRadioButton *m_flowHw, *m_flowSw, *m_flowNone; |
39 | 41 | ||
40 | QButtonGroup* m_groupParity; | 42 | QButtonGroup* m_groupParity; |
41 | QRadioButton *m_parityOdd, *m_parityEven; | 43 | QRadioButton *m_parityOdd, *m_parityEven, *m_parityNone; |
42 | QHBoxLayout* m_hbox; | 44 | QHBoxLayout* m_hbox; |
43 | QHBoxLayout* m_hboxPar; | 45 | QHBoxLayout* m_hboxPar; |
44 | }; | 46 | }; |
45 | 47 | ||
46 | 48 | ||
47 | #endif | 49 | #endif |