summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-24 13:49:31 (UTC)
committer harlekin <harlekin>2002-10-24 13:49:31 (UTC)
commit9de347605b9457a0d5b56e1f951c143a71acf6ac (patch) (side-by-side diff)
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
@@ -8,24 +8,25 @@ Send/receive: lrzsz behaves strange when trying to use
- transfer dialog is still a top dialog instead on the widgetstack of of the
connection its used on
- keys and buttonbar merge
- keys really working
mc is working
but F11 on bar seems to be the F10 key and so on
F9 is F8... -zecke
Should be fixed -zecke
- scripting with "direct subpopup"
also:
- an indication that it is currently recording, also change menu entry to
"cancel recording" then
- scripts need an extension and also an icon
- help documentation needs to be extended
- new connection and save connection
- paste button
- keys button
+- 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 @@
#include <qlayout.h>
#include <qlineedit.h>
#include <qlabel.h>
#include <qmessagebox.h>
#include <qstringlist.h>
#include <qcombobox.h>
#include <qcheckbox.h>
#include <qscrollview.h>
-//#include "profileeditorplugins.h"
#include "metafactory.h"
#include "profileeditordialog.h"
namespace {
void setCurrent( const QString& str, QComboBox* bo ) {
for (int i = 0; i < bo->count(); i++ ) {
if ( bo->text(i) == str ) {
bo->setCurrentItem( i );
}
}
};
}
ProfileEditorDialog::ProfileEditorDialog( MetaFactory* fact,
const Profile& prof )
: QDialog(0, 0, TRUE), m_fact( fact ), m_prof( prof )
{
initUI();
// Apply current profile
// plugin_plugin->load(profile);
// ... (reset profile name line edit etc.)
}
@@ -180,49 +179,49 @@ QString ProfileEditorDialog::profName()const
QCString ProfileEditorDialog::profType()const
{
/*QStringList w = m_fact->configWidgets();
for(QStringList::Iterator it = w.begin(); it != w.end(); it++)
if(device_box->currentText() == m_fact->name((*it))) return (*it);
*/
return QCString();
}
/*
* we need to switch the widget
*/
void ProfileEditorDialog::slotConActivated( const QString& str ) {
delete m_con;
m_con = m_fact->newConnectionPlugin( str, m_svCon->viewport() );
if ( !m_con ) {
m_con = new NoOptions( str, m_svCon->viewport(), "name");
}
// FIXME ugly hack right. Right solution would be to look into the layer and see if it
// supports auto connect and then set it as prefered
//if ( ( )->layer()->supports()[0] == 1 ) {
- if ( m_conCmb ->currentText() == "local Console" ) {
+ if ( m_conCmb ->currentText() == tr("local Console") ) {
m_autoConnect->setChecked( true );
} else {
m_autoConnect->setChecked( false );
}
m_con->load( m_prof );
m_svCon->addChild( m_con );
}
/*
* we need to switch the widget
*/
void ProfileEditorDialog::slotTermActivated( const QString& str ) {
delete m_term;
m_term = m_fact->newTerminalPlugin( str, m_svTerm->viewport() );
if (m_term) {
m_term->load( m_prof );
m_svTerm->addChild( m_term );
}
}