Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 5c5c2b3..c48ea53 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp @@ -5,7 +5,8 @@ #include <qstringlist.h> #include <qcombobox.h> +#include <qcheckbox.h> -#include "profileeditorplugins.h" +//#include "profileeditorplugins.h" #include "metafactory.h" #include "profileeditordialog.h" @@ -79,4 +80,5 @@ void ProfileEditorDialog::initUI() m_conCmb = new QComboBox( tabprof ); m_termCmb = new QComboBox( tabprof ); + m_autoConnect = new QCheckBox(tr("Auto connect after load"), tabprof); // layouting @@ -88,4 +90,5 @@ void ProfileEditorDialog::initUI() vbox3->add(term ); vbox3->add(m_termCmb ); + vbox3->add(m_autoConnect); vbox3->addStretch(1); @@ -113,4 +116,5 @@ void ProfileEditorDialog::initUI() setCurrent( m_fact->external(m_prof.ioLayerName() ), m_conCmb ); setCurrent( m_fact->external(m_prof.terminalName() ), m_termCmb ); + m_autoConnect->setChecked(m_prof.autoConnect()); @@ -142,4 +146,5 @@ void ProfileEditorDialog::accept() m_prof.setIOLayer( m_fact->internal(m_conCmb ->currentText() ) ); m_prof.setTerminalName( m_fact->internal(m_termCmb->currentText() ) ); + m_prof.setAutoConnect( m_autoConnect->isChecked() ); if (m_con ) |