author | josef <josef> | 2002-10-07 11:26:41 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-07 11:26:41 (UTC) |
commit | d9b425252bc2d3b0d9cb848f823d8eb254f38a26 (patch) (unidiff) | |
tree | 6a6e67d77d9d836fcf6d6460c2cad234211e9d97 /noncore/apps/opie-console/profileeditordialog.cpp | |
parent | 4fad0b73ae2940099bbb6f20bb94ed1f29e6d05b (diff) | |
download | opie-d9b425252bc2d3b0d9cb848f823d8eb254f38a26.zip opie-d9b425252bc2d3b0d9cb848f823d8eb254f38a26.tar.gz opie-d9b425252bc2d3b0d9cb848f823d8eb254f38a26.tar.bz2 |
- oops... QComboBox doesn't handle non-consecutive values
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 5b7f851..78885e1 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp | |||
@@ -205,8 +205,8 @@ void ProfileEditorDialog::initUI() | |||
205 | 205 | ||
206 | connect(group_flow, SIGNAL(clicked(int)), SLOT(slotConn(int))); | 206 | connect(group_flow, SIGNAL(clicked(int)), SLOT(slotConnFlow(int))); |
207 | connect(group_parity, SIGNAL(clicked(int)), SLOT(slotConn(int))); | 207 | connect(group_parity, SIGNAL(clicked(int)), SLOT(slotConnParity(int))); |
208 | connect(speed_box, SIGNAL(clicked(int)), SLOT(slotConn(int))); | 208 | connect(speed_box, SIGNAL(activated(int)), SLOT(slotConnSpeed(int))); |
209 | 209 | ||
210 | connect(terminal_box, SIGNAL(clicked(int)), SLOT(slotConn(int))); | 210 | connect(terminal_box, SIGNAL(activated(int)), SLOT(slotTermTerm(int))); |
211 | connect(group_size, SIGNAL(clicked(int)), SLOT(slotConn(int))); | 211 | connect(group_size, SIGNAL(clicked(int)), SLOT(slotTermFont(int))); |
212 | } | 212 | } |
@@ -269,3 +269,3 @@ QString ProfileEditorDialog::prof_type() | |||
269 | 269 | ||
270 | void ProfileEditorDialog::slotConn(int id) | 270 | void ProfileEditorDialog::slotConnFlow(int id) |
271 | { | 271 | { |
@@ -279,2 +279,9 @@ void ProfileEditorDialog::slotConn(int id) | |||
279 | break; | 279 | break; |
280 | } | ||
281 | } | ||
282 | |||
283 | void ProfileEditorDialog::slotConnParity(int id) | ||
284 | { | ||
285 | switch(id) | ||
286 | { | ||
280 | case id_parity_odd: | 287 | case id_parity_odd: |
@@ -285,2 +292,9 @@ void ProfileEditorDialog::slotConn(int id) | |||
285 | break; | 292 | break; |
293 | } | ||
294 | } | ||
295 | |||
296 | void ProfileEditorDialog::slotConnSpeed(int id) | ||
297 | { | ||
298 | switch(id) | ||
299 | { | ||
286 | 300 | ||
@@ -301,2 +315,9 @@ void ProfileEditorDialog::slotConn(int id) | |||
301 | break; | 315 | break; |
316 | } | ||
317 | } | ||
318 | |||
319 | void ProfileEditorDialog::slotTermTerm(int id) | ||
320 | { | ||
321 | switch(id) | ||
322 | { | ||
302 | 323 | ||
@@ -311,3 +332,9 @@ void ProfileEditorDialog::slotConn(int id) | |||
311 | break; | 332 | break; |
333 | } | ||
334 | } | ||
312 | 335 | ||
336 | void ProfileEditorDialog::slotTermFont(int id) | ||
337 | { | ||
338 | switch(id) | ||
339 | { | ||
313 | case id_size_small: | 340 | case id_size_small: |