summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditordialog.cpp
authorhash <hash>2002-10-18 19:50:27 (UTC)
committer hash <hash>2002-10-18 19:50:27 (UTC)
commitbb98ac35db9807efbcc1b59dd8abbdb05ad7656b (patch) (side-by-side diff)
tree60f83f4c10c68da1ca7641b26b91b8970ef0eaa3 /noncore/apps/opie-console/profileeditordialog.cpp
parent081001a515f23626b6299e39af4511f36db46d07 (diff)
downloadopie-bb98ac35db9807efbcc1b59dd8abbdb05ad7656b.zip
opie-bb98ac35db9807efbcc1b59dd8abbdb05ad7656b.tar.gz
opie-bb98ac35db9807efbcc1b59dd8abbdb05ad7656b.tar.bz2
added autoconnect support. feel free to revert if i messed something up.
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.cpp7
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
@@ -6,5 +6,6 @@
#include <qcombobox.h>
+#include <qcheckbox.h>
-#include "profileeditorplugins.h"
+//#include "profileeditorplugins.h"
#include "metafactory.h"
@@ -80,2 +81,3 @@ void ProfileEditorDialog::initUI()
m_termCmb = new QComboBox( tabprof );
+ m_autoConnect = new QCheckBox(tr("Auto connect after load"), tabprof);
@@ -89,2 +91,3 @@ void ProfileEditorDialog::initUI()
vbox3->add(m_termCmb );
+ vbox3->add(m_autoConnect);
vbox3->addStretch(1);
@@ -114,2 +117,3 @@ void ProfileEditorDialog::initUI()
setCurrent( m_fact->external(m_prof.terminalName() ), m_termCmb );
+ m_autoConnect->setChecked(m_prof.autoConnect());
@@ -143,2 +147,3 @@ void ProfileEditorDialog::accept()
m_prof.setTerminalName( m_fact->internal(m_termCmb->currentText() ) );
+ m_prof.setAutoConnect( m_autoConnect->isChecked() );