summaryrefslogtreecommitdiff
path: root/noncore/apps
authorharlekin <harlekin>2002-10-24 21:01:21 (UTC)
committer harlekin <harlekin>2002-10-24 21:01:21 (UTC)
commita8b95086dd331c67c728a346f56416c355142758 (patch) (side-by-side diff)
tree1df20d3dfa7231005f9417c5cd318685d675efad /noncore/apps
parent52266c9462d599ab3268bddb301698c90bb0212c (diff)
downloadopie-a8b95086dd331c67c728a346f56416c355142758.zip
opie-a8b95086dd331c67c728a346f56416c355142758.tar.gz
opie-a8b95086dd331c67c728a346f56416c355142758.tar.bz2
give new connection a caption
Diffstat (limited to 'noncore/apps') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp1
-rw-r--r--noncore/apps/opie-console/modemconfigwidget.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index ccecdf8..c44b359 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -387,12 +387,13 @@ QList<Session> MainWindow::sessions() {
return m_sessions;
}
void MainWindow::slotNew() {
ProfileEditorDialog dlg(factory() );
dlg.showMaximized();
+ dlg.setCaption( tr("New Connection") );
int ret = dlg.exec();
if ( ret == QDialog::Accepted ) {
create( dlg.profile() );
}
}
diff --git a/noncore/apps/opie-console/modemconfigwidget.cpp b/noncore/apps/opie-console/modemconfigwidget.cpp
index da5db83..ec83b9f 100644
--- a/noncore/apps/opie-console/modemconfigwidget.cpp
+++ b/noncore/apps/opie-console/modemconfigwidget.cpp
@@ -35,12 +35,13 @@ ModemConfigWidget::ModemConfigWidget( const QString& name, QWidget* parent,
QLabel* telLabel = new QLabel( this );
telLabel->setText( tr( "Enter telefon number here:" ) );
m_telNumber = new QLineEdit( this );
QHBox *buttonBox = new QHBox( this );
QPushButton *atButton = new QPushButton( buttonBox );
atButton->setText( tr( "AT commands" ) );
+ // disabled for now
atButton->hide();
connect( atButton, SIGNAL( clicked() ), this, SLOT( slotAT() ) );
QPushButton *dialButton = new QPushButton( buttonBox );
dialButton->setText( tr( "Enter number" ) );
connect( dialButton, SIGNAL( clicked() ), this, SLOT( slotDial() ) );