-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 | |||
@@ -381,24 +381,25 @@ MetaFactory* MainWindow::factory() { | |||
381 | 381 | ||
382 | Session* MainWindow::currentSession() { | 382 | Session* MainWindow::currentSession() { |
383 | return m_curSession; | 383 | return m_curSession; |
384 | } | 384 | } |
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() { |
401 | if (currentSession()) { | 402 | if (currentSession()) { |
402 | currentSession()->emulationHandler()->startRecording(); | 403 | currentSession()->emulationHandler()->startRecording(); |
403 | m_saveScript->setEnabled(true); | 404 | m_saveScript->setEnabled(true); |
404 | m_recordScript->setEnabled(false); | 405 | m_recordScript->setEnabled(false); |
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 | |||
@@ -29,24 +29,25 @@ ModemConfigWidget::ModemConfigWidget( const QString& name, QWidget* parent, | |||
29 | 29 | ||
30 | m_lay = new QVBoxLayout( this ); | 30 | m_lay = new QVBoxLayout( this ); |
31 | m_device = new QLabel(tr( "Modem is attached to:" ), this ); | 31 | m_device = new QLabel(tr( "Modem is attached to:" ), this ); |
32 | m_deviceCmb = new QComboBox(this ); | 32 | m_deviceCmb = new QComboBox(this ); |
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 | ||
49 | m_base = new IOLayerBase( this, "base" ); | 50 | m_base = new IOLayerBase( this, "base" ); |
50 | 51 | ||
51 | m_lay->addWidget( m_device ); | 52 | m_lay->addWidget( m_device ); |
52 | m_lay->addWidget( m_deviceCmb ); | 53 | m_lay->addWidget( m_deviceCmb ); |