summaryrefslogtreecommitdiff
path: root/noncore
authorharlekin <harlekin>2002-10-24 21:01:21 (UTC)
committer harlekin <harlekin>2002-10-24 21:01:21 (UTC)
commita8b95086dd331c67c728a346f56416c355142758 (patch) (unidiff)
tree1df20d3dfa7231005f9417c5cd318685d675efad /noncore
parent52266c9462d599ab3268bddb301698c90bb0212c (diff)
downloadopie-a8b95086dd331c67c728a346f56416c355142758.zip
opie-a8b95086dd331c67c728a346f56416c355142758.tar.gz
opie-a8b95086dd331c67c728a346f56416c355142758.tar.bz2
give new connection a caption
Diffstat (limited to 'noncore') (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() {
387 return m_sessions; 387 return m_sessions;
388} 388}
389 389
390void MainWindow::slotNew() { 390void MainWindow::slotNew() {
391 ProfileEditorDialog dlg(factory() ); 391 ProfileEditorDialog dlg(factory() );
392 dlg.showMaximized(); 392 dlg.showMaximized();
393 dlg.setCaption( tr("New Connection") );
393 int ret = dlg.exec(); 394 int ret = dlg.exec();
394 395
395 if ( ret == QDialog::Accepted ) { 396 if ( ret == QDialog::Accepted ) {
396 create( dlg.profile() ); 397 create( dlg.profile() );
397 } 398 }
398} 399}
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,
35 QLabel* telLabel = new QLabel( this ); 35 QLabel* telLabel = new QLabel( this );
36 telLabel->setText( tr( "Enter telefon number here:" ) ); 36 telLabel->setText( tr( "Enter telefon number here:" ) );
37 m_telNumber = new QLineEdit( this ); 37 m_telNumber = new QLineEdit( this );
38 QHBox *buttonBox = new QHBox( this ); 38 QHBox *buttonBox = new QHBox( this );
39 QPushButton *atButton = new QPushButton( buttonBox ); 39 QPushButton *atButton = new QPushButton( buttonBox );
40 atButton->setText( tr( "AT commands" ) ); 40 atButton->setText( tr( "AT commands" ) );
41 // disabled for now
41 atButton->hide(); 42 atButton->hide();
42 connect( atButton, SIGNAL( clicked() ), this, SLOT( slotAT() ) ); 43 connect( atButton, SIGNAL( clicked() ), this, SLOT( slotAT() ) );
43 44
44 QPushButton *dialButton = new QPushButton( buttonBox ); 45 QPushButton *dialButton = new QPushButton( buttonBox );
45 dialButton->setText( tr( "Enter number" ) ); 46 dialButton->setText( tr( "Enter number" ) );
46 connect( dialButton, SIGNAL( clicked() ), this, SLOT( slotDial() ) ); 47 connect( dialButton, SIGNAL( clicked() ), this, SLOT( slotDial() ) );