Diffstat (limited to 'noncore/apps/opie-console/profileeditorplugins.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditorplugins.cpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/noncore/apps/opie-console/profileeditorplugins.cpp b/noncore/apps/opie-console/profileeditorplugins.cpp index c11c854..937516c 100644 --- a/noncore/apps/opie-console/profileeditorplugins.cpp +++ b/noncore/apps/opie-console/profileeditorplugins.cpp @@ -173,57 +173,60 @@ QWidget *ProfileEditorPlugin::terminal_widget() if(fontsize == Profile::Small) size_medium->setChecked(true); if(fontsize == Profile::Medium) size_large->setChecked(true); if(opt_echo) option_echo->setChecked(true); if(opt_wrap) option_wrap->setChecked(true); if(opt_inbound) conv_inbound->setChecked(true); if(opt_outbound) conv_outbound->setChecked(true); // Signals connect(terminal_box, SIGNAL(activated(int)), SLOT(slotTermTerm(int))); connect(colour_box, SIGNAL(activated(int)), SLOT(slotTermColour(int))); connect(group_size, SIGNAL(clicked(int)), SLOT(slotTermFont(int))); connect(option_echo, SIGNAL(toggled(bool)), SLOT(slotTermEcho(bool))); connect(option_wrap, SIGNAL(toggled(bool)), SLOT(slotTermWrap(bool))); connect(conv_inbound, SIGNAL(toggled(bool)), SLOT(slotTermInbound(bool))); connect(conv_outbound, SIGNAL(toggled(bool)), SLOT(slotTermOutbound(bool))); return root; } void ProfileEditorPlugin::slotConnFlow(int id) { - switch(id) - { - case id_flow_hw: - m_profile->writeEntry("Flow", IOSerial::FlowHW); - break; - case id_flow_sw: - m_profile->writeEntry("Flow", IOSerial::FlowSW); - break; - } + switch(id) + { + case id_flow_hw: + m_profile->writeEntry("Flow", IOSerial::FlowHW); + break; + case id_flow_sw: + m_profile->writeEntry("Flow", IOSerial::FlowSW); + break; + case id_flow_sw: + m_profile->writeEntry("None", IOSerial::None); + break; + } } void ProfileEditorPlugin::slotConnParity(int id) { switch(id) { case id_parity_odd: m_profile->writeEntry("Parity", IOSerial::ParityEven); break; case id_parity_even: m_profile->writeEntry("Parity", IOSerial::ParityOdd); break; } } void ProfileEditorPlugin::slotConnSpeed(int id) { switch(id) { case id_baud_115200: m_profile->writeEntry("Speed", 115200); break; case id_baud_57600: |