author | harlekin <harlekin> | 2002-10-25 18:48:25 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-25 18:48:25 (UTC) |
commit | 4151cc12a6c37cbec4bb6883204703eec2fb8648 (patch) (unidiff) | |
tree | f7e81dc7de747628225ae4627c7cf3028183441a /noncore/apps/opie-console/iolayerbase.h | |
parent | e8c4383915db7ed6f47899945404247b1fd5c3c4 (diff) | |
download | opie-4151cc12a6c37cbec4bb6883204703eec2fb8648.zip opie-4151cc12a6c37cbec4bb6883204703eec2fb8648.tar.gz opie-4151cc12a6c37cbec4bb6883204703eec2fb8648.tar.bz2 |
added data bits and stop bits
Diffstat (limited to 'noncore/apps/opie-console/iolayerbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/iolayerbase.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/iolayerbase.h b/noncore/apps/opie-console/iolayerbase.h index 74de46a..e1b96df 100644 --- a/noncore/apps/opie-console/iolayerbase.h +++ b/noncore/apps/opie-console/iolayerbase.h | |||
@@ -22,25 +22,34 @@ public: | |||
22 | Baud_38400, | 22 | Baud_38400, |
23 | Baud_19200, | 23 | Baud_19200, |
24 | Baud_9600 }; | 24 | Baud_9600 }; |
25 | enum Data { Data_Five =5, Data_Six =6, Data_Seven=7, Data_Eight=8 }; | ||
26 | enum Stop { Stop_One =1, Stop_OnePointFive=15, Stop_Two=2 }; | ||
27 | |||
25 | IOLayerBase( QWidget* base, const char* name = 0l); | 28 | IOLayerBase( QWidget* base, const char* name = 0l); |
26 | ~IOLayerBase(); | 29 | ~IOLayerBase(); |
27 | 30 | ||
28 | void setFlow( Flow flo ); | 31 | void setFlow( Flow flo ); |
29 | void setParity( Parity par ); | 32 | void setParity( Parity par ); |
30 | void setSpeed( Speed speed ); | 33 | void setSpeed( Speed speed ); |
34 | void setData( Data data ); | ||
35 | void setStop( Stop stop ); | ||
31 | 36 | ||
32 | Flow flow()const; | 37 | Flow flow()const; |
33 | Parity parity()const; | 38 | Parity parity()const; |
34 | Speed speed()const; | 39 | Speed speed()const; |
40 | Data data()const; | ||
41 | Stop stop()const; | ||
35 | private: | 42 | private: |
36 | QVBoxLayout* m_lroot; | 43 | QVBoxLayout* m_lroot; |
37 | QLabel* m_speedLabel; | 44 | QLabel* m_speedLabel; |
38 | QComboBox* m_speedBox; | 45 | QComboBox* m_speedBox; |
39 | QButtonGroup* m_groupFlow; | 46 | QButtonGroup* m_groupFlow, *m_groupData, *m_groupStop ; |
40 | QRadioButton *m_flowHw, *m_flowSw, *m_flowNone; | 47 | QRadioButton *m_flowHw, *m_flowSw, *m_flowNone; |
41 | 48 | ||
42 | QButtonGroup* m_groupParity; | 49 | QButtonGroup* m_groupParity; |
43 | QRadioButton *m_parityOdd, *m_parityEven, *m_parityNone; | 50 | QRadioButton *m_parityOdd, *m_parityEven, *m_parityNone; |
51 | QRadioButton *m_data5, *m_data6, *m_data7, *m_data8; | ||
52 | QRadioButton *m_stop1, *m_stop15, *m_stop2; | ||
44 | QHBoxLayout* m_hbox; | 53 | QHBoxLayout* m_hbox; |
45 | QHBoxLayout* m_hboxPar; | 54 | QHBoxLayout* m_hboxPar; |
46 | }; | 55 | }; |