-rw-r--r-- | noncore/apps/opie-console/BUGS | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/BUGS b/noncore/apps/opie-console/BUGS index e6339e1..8195dc5 100644 --- a/noncore/apps/opie-console/BUGS +++ b/noncore/apps/opie-console/BUGS | |||
@@ -8,24 +8,25 @@ Send/receive: lrzsz behaves strange when trying to use | |||
8 | 8 | ||
9 | - transfer dialog is still a top dialog instead on the widgetstack of of the | 9 | - transfer dialog is still a top dialog instead on the widgetstack of of the |
10 | connection its used on | 10 | connection its used on |
11 | 11 | ||
12 | - keys and buttonbar merge | 12 | - keys and buttonbar merge |
13 | 13 | ||
14 | - keys really working | 14 | - keys really working |
15 | mc is working | 15 | mc is working |
16 | but F11 on bar seems to be the F10 key and so on | 16 | but F11 on bar seems to be the F10 key and so on |
17 | F9 is F8... -zecke | 17 | F9 is F8... -zecke |
18 | Should be fixed -zecke | 18 | Should be fixed -zecke |
19 | 19 | ||
20 | - scripting with "direct subpopup" | 20 | - scripting with "direct subpopup" |
21 | also: | 21 | also: |
22 | - an indication that it is currently recording, also change menu entry to | 22 | - an indication that it is currently recording, also change menu entry to |
23 | "cancel recording" then | 23 | "cancel recording" then |
24 | 24 | ||
25 | - scripts need an extension and also an icon | 25 | - scripts need an extension and also an icon |
26 | 26 | ||
27 | - help documentation needs to be extended | 27 | - help documentation needs to be extended |
28 | - new connection and save connection | 28 | - new connection and save connection |
29 | - paste button | 29 | - paste button |
30 | - keys button | 30 | - keys button |
31 | 31 | ||
32 | - exit / strg + d does not close conection / tab \ No newline at end of file | ||
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 127009b..36daaef 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp | |||
@@ -1,34 +1,33 @@ | |||
1 | #include <qlayout.h> | 1 | #include <qlayout.h> |
2 | #include <qlineedit.h> | 2 | #include <qlineedit.h> |
3 | #include <qlabel.h> | 3 | #include <qlabel.h> |
4 | #include <qmessagebox.h> | 4 | #include <qmessagebox.h> |
5 | #include <qstringlist.h> | 5 | #include <qstringlist.h> |
6 | #include <qcombobox.h> | 6 | #include <qcombobox.h> |
7 | #include <qcheckbox.h> | 7 | #include <qcheckbox.h> |
8 | #include <qscrollview.h> | 8 | #include <qscrollview.h> |
9 | 9 | ||
10 | //#include "profileeditorplugins.h" | ||
11 | #include "metafactory.h" | 10 | #include "metafactory.h" |
12 | #include "profileeditordialog.h" | 11 | #include "profileeditordialog.h" |
13 | 12 | ||
14 | namespace { | 13 | namespace { |
15 | void setCurrent( const QString& str, QComboBox* bo ) { | 14 | void setCurrent( const QString& str, QComboBox* bo ) { |
16 | for (int i = 0; i < bo->count(); i++ ) { | 15 | for (int i = 0; i < bo->count(); i++ ) { |
17 | if ( bo->text(i) == str ) { | 16 | if ( bo->text(i) == str ) { |
18 | bo->setCurrentItem( i ); | 17 | bo->setCurrentItem( i ); |
19 | } | 18 | } |
20 | } | 19 | } |
21 | }; | 20 | }; |
22 | } | 21 | } |
23 | 22 | ||
24 | ProfileEditorDialog::ProfileEditorDialog( MetaFactory* fact, | 23 | ProfileEditorDialog::ProfileEditorDialog( MetaFactory* fact, |
25 | const Profile& prof ) | 24 | const Profile& prof ) |
26 | : QDialog(0, 0, TRUE), m_fact( fact ), m_prof( prof ) | 25 | : QDialog(0, 0, TRUE), m_fact( fact ), m_prof( prof ) |
27 | { | 26 | { |
28 | initUI(); | 27 | initUI(); |
29 | 28 | ||
30 | // Apply current profile | 29 | // Apply current profile |
31 | // plugin_plugin->load(profile); | 30 | // plugin_plugin->load(profile); |
32 | // ... (reset profile name line edit etc.) | 31 | // ... (reset profile name line edit etc.) |
33 | } | 32 | } |
34 | 33 | ||
@@ -180,49 +179,49 @@ QString ProfileEditorDialog::profName()const | |||
180 | QCString ProfileEditorDialog::profType()const | 179 | QCString ProfileEditorDialog::profType()const |
181 | { | 180 | { |
182 | /*QStringList w = m_fact->configWidgets(); | 181 | /*QStringList w = m_fact->configWidgets(); |
183 | for(QStringList::Iterator it = w.begin(); it != w.end(); it++) | 182 | for(QStringList::Iterator it = w.begin(); it != w.end(); it++) |
184 | if(device_box->currentText() == m_fact->name((*it))) return (*it); | 183 | if(device_box->currentText() == m_fact->name((*it))) return (*it); |
185 | */ | 184 | */ |
186 | return QCString(); | 185 | return QCString(); |
187 | } | 186 | } |
188 | /* | 187 | /* |
189 | * we need to switch the widget | 188 | * we need to switch the widget |
190 | */ | 189 | */ |
191 | void ProfileEditorDialog::slotConActivated( const QString& str ) { | 190 | void ProfileEditorDialog::slotConActivated( const QString& str ) { |
192 | 191 | ||
193 | delete m_con; | 192 | delete m_con; |
194 | 193 | ||
195 | m_con = m_fact->newConnectionPlugin( str, m_svCon->viewport() ); | 194 | m_con = m_fact->newConnectionPlugin( str, m_svCon->viewport() ); |
196 | 195 | ||
197 | if ( !m_con ) { | 196 | if ( !m_con ) { |
198 | m_con = new NoOptions( str, m_svCon->viewport(), "name"); | 197 | m_con = new NoOptions( str, m_svCon->viewport(), "name"); |
199 | } | 198 | } |
200 | 199 | ||
201 | // FIXME ugly hack right. Right solution would be to look into the layer and see if it | 200 | // FIXME ugly hack right. Right solution would be to look into the layer and see if it |
202 | // supports auto connect and then set it as prefered | 201 | // supports auto connect and then set it as prefered |
203 | //if ( ( )->layer()->supports()[0] == 1 ) { | 202 | //if ( ( )->layer()->supports()[0] == 1 ) { |
204 | if ( m_conCmb ->currentText() == "local Console" ) { | 203 | if ( m_conCmb ->currentText() == tr("local Console") ) { |
205 | m_autoConnect->setChecked( true ); | 204 | m_autoConnect->setChecked( true ); |
206 | } else { | 205 | } else { |
207 | m_autoConnect->setChecked( false ); | 206 | m_autoConnect->setChecked( false ); |
208 | } | 207 | } |
209 | 208 | ||
210 | m_con->load( m_prof ); | 209 | m_con->load( m_prof ); |
211 | m_svCon->addChild( m_con ); | 210 | m_svCon->addChild( m_con ); |
212 | } | 211 | } |
213 | 212 | ||
214 | 213 | ||
215 | /* | 214 | /* |
216 | * we need to switch the widget | 215 | * we need to switch the widget |
217 | */ | 216 | */ |
218 | void ProfileEditorDialog::slotTermActivated( const QString& str ) { | 217 | void ProfileEditorDialog::slotTermActivated( const QString& str ) { |
219 | 218 | ||
220 | delete m_term; | 219 | delete m_term; |
221 | 220 | ||
222 | m_term = m_fact->newTerminalPlugin( str, m_svTerm->viewport() ); | 221 | m_term = m_fact->newTerminalPlugin( str, m_svTerm->viewport() ); |
223 | 222 | ||
224 | if (m_term) { | 223 | if (m_term) { |
225 | m_term->load( m_prof ); | 224 | m_term->load( m_prof ); |
226 | m_svTerm->addChild( m_term ); | 225 | m_svTerm->addChild( m_term ); |
227 | } | 226 | } |
228 | } | 227 | } |