Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.h | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h index 0637f44..a6808d0 100644 --- a/noncore/apps/opie-console/profileeditordialog.h +++ b/noncore/apps/opie-console/profileeditordialog.h | |||
@@ -30,13 +30,17 @@ public slots: | |||
30 | void accept(); | 30 | void accept(); |
31 | //void slotOk(); | 31 | //void slotOk(); |
32 | void slotCancel(); | 32 | void slotCancel(); |
33 | 33 | ||
34 | void slotDevice(int id); | 34 | void slotDevice(int id); |
35 | 35 | ||
36 | void slotConn(int id); | 36 | void slotConnFlow(int id); |
37 | void slotConnParity(int id); | ||
38 | void slotConnSpeed(int id); | ||
39 | void slotTermTerm(int id); | ||
40 | void slotTermFont(int id); | ||
37 | 41 | ||
38 | private: | 42 | private: |
39 | void initUI(); | 43 | void initUI(); |
40 | 44 | ||
41 | MetaFactory* m_fact; | 45 | MetaFactory* m_fact; |
42 | EditBase* m_base; | 46 | EditBase* m_base; |
@@ -48,26 +52,42 @@ private: | |||
48 | QComboBox *device_box; | 52 | QComboBox *device_box; |
49 | 53 | ||
50 | QWidget *plugin_base; | 54 | QWidget *plugin_base; |
51 | ProfileEditorPlugin *plugin_plugin; | 55 | ProfileEditorPlugin *plugin_plugin; |
52 | QHBoxLayout *plugin_layout; | 56 | QHBoxLayout *plugin_layout; |
53 | 57 | ||
54 | enum Ids | 58 | enum ParityIds |
55 | { | 59 | { |
56 | id_parity_odd, | 60 | id_parity_odd, |
57 | id_parity_even, | 61 | id_parity_even |
62 | }; | ||
63 | |||
64 | enum FlowIds | ||
65 | { | ||
58 | id_flow_hw, | 66 | id_flow_hw, |
59 | id_flow_sw, | 67 | id_flow_sw |
68 | }; | ||
69 | |||
70 | enum SpeedIds | ||
71 | { | ||
60 | id_baud_115200, | 72 | id_baud_115200, |
61 | id_baud_57600, | 73 | id_baud_57600, |
62 | id_baud_38400, | 74 | id_baud_38400, |
63 | id_baud_19200, | 75 | id_baud_19200, |
64 | id_baud_9600, | 76 | id_baud_9600 |
77 | }; | ||
78 | |||
79 | enum TermIds | ||
80 | { | ||
65 | id_term_vt100, | 81 | id_term_vt100, |
66 | id_term_vt220, | 82 | id_term_vt220, |
67 | id_term_ansi, | 83 | id_term_ansi |
84 | }; | ||
85 | |||
86 | enum FontIds | ||
87 | { | ||
68 | id_size_small, | 88 | id_size_small, |
69 | id_size_medium, | 89 | id_size_medium, |
70 | id_size_large | 90 | id_size_large |
71 | }; | 91 | }; |
72 | }; | 92 | }; |
73 | 93 | ||