-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/modemconfigwidget.cpp | 1 |
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 | |||
@@ -385,16 +385,17 @@ Session* MainWindow::currentSession() { | |||
385 | 385 | ||
386 | QList<Session> MainWindow::sessions() { | 386 | QList<Session> MainWindow::sessions() { |
387 | return m_sessions; | 387 | return m_sessions; |
388 | } | 388 | } |
389 | 389 | ||
390 | void MainWindow::slotNew() { | 390 | void 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 | } |
399 | 400 | ||
400 | void MainWindow::slotRecordScript() { | 401 | void MainWindow::slotRecordScript() { |
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 | |||
@@ -33,16 +33,17 @@ ModemConfigWidget::ModemConfigWidget( const QString& name, QWidget* parent, | |||
33 | m_deviceCmb->setEditable( TRUE ); | 33 | m_deviceCmb->setEditable( TRUE ); |
34 | 34 | ||
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() ) ); |
47 | 48 | ||
48 | 49 | ||