summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-24 13:49:31 (UTC)
committer harlekin <harlekin>2002-10-24 13:49:31 (UTC)
commit9de347605b9457a0d5b56e1f951c143a71acf6ac (patch) (unidiff)
treea1a319840af28728154c6363b5d81fb7e4a87d23
parent549a3104fe5213797d98487e470ce5c86ee62e10 (diff)
downloadopie-9de347605b9457a0d5b56e1f951c143a71acf6ac.zip
opie-9de347605b9457a0d5b56e1f951c143a71acf6ac.tar.gz
opie-9de347605b9457a0d5b56e1f951c143a71acf6ac.tar.bz2
forgot tr()
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/BUGS1
-rw-r--r--noncore/apps/opie-console/profileeditordialog.cpp3
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
@@ -16,16 +16,17 @@ connection its used on
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,26 +1,25 @@
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
14namespace { 13namespace {
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
24ProfileEditorDialog::ProfileEditorDialog( MetaFactory* fact, 23ProfileEditorDialog::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 )
@@ -188,33 +187,33 @@ QCString ProfileEditorDialog::profType()const
188/* 187/*
189 * we need to switch the widget 188 * we need to switch the widget
190 */ 189 */
191void ProfileEditorDialog::slotConActivated( const QString& str ) { 190void 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 */
218void ProfileEditorDialog::slotTermActivated( const QString& str ) { 217void ProfileEditorDialog::slotTermActivated( const QString& str ) {
219 218
220 delete m_term; 219 delete m_term;