summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_modem.cpp8
-rw-r--r--noncore/apps/opie-console/io_modem.h3
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp10
-rw-r--r--noncore/apps/opie-console/opie-console.pro4
4 files changed, 19 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp
index eb0aeb7..56147d8 100644
--- a/noncore/apps/opie-console/io_modem.cpp
+++ b/noncore/apps/opie-console/io_modem.cpp
@@ -5,4 +5,4 @@
5 5
6IOModem:IOModem( const Profile &config ) : IOSerial( config ) { 6IOModem::IOModem( const Profile &profile )
7 m_config = config; 7 : IOSerial( profile ), m_profile( profile ) {
8} 8}
@@ -22,2 +22,3 @@ void IOModem::close() {
22bool IOModem::open() { 22bool IOModem::open() {
23 qWarning("IOModem::open");
23 IOSerial::open(); 24 IOSerial::open();
@@ -70,4 +71,5 @@ QString IOModem::name() const {
70 71
71void IOIrda::slotExited(OProcess* proc ){ 72void IOModem::slotExited(OProcess* proc ){
72 close(); 73 close();
73} 74}
75
diff --git a/noncore/apps/opie-console/io_modem.h b/noncore/apps/opie-console/io_modem.h
index 6d44349..d681f66 100644
--- a/noncore/apps/opie-console/io_modem.h
+++ b/noncore/apps/opie-console/io_modem.h
@@ -5,2 +5,3 @@
5#include "io_serial.h" 5#include "io_serial.h"
6#include "profile.h"
6 7
@@ -59,3 +60,3 @@ private:
59 QString m_initString, m_resetString, m_dialPref1, m_dialSuf1, m_dialPref2, 60 QString m_initString, m_resetString, m_dialPref1, m_dialSuf1, m_dialPref2,
60 m_dialSuf2, dialPref3, m_dialSuf3, m_connect, m_hangup, m_cancel; 61 m_dialSuf2, m_dialPref3, m_dialSuf3, m_connect, m_hangup, m_cancel;
61 int m_dialTime, m_delayRedial, m_numberTries, m_dtrDropTime, 62 int m_dialTime, m_delayRedial, m_numberTries, m_dtrDropTime,
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 415259e..1adb43d 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -8,2 +8,3 @@
8#include <opie/ofiledialog.h> 8#include <opie/ofiledialog.h>
9#include <qmessagebox.h>
9 10
@@ -311,2 +312,11 @@ void MainWindow::create( const Profile& prof ) {
311 312
313 if((!ses) || (!ses->layer()) || (!ses->widgetStack()))
314 {
315 QMessageBox::warning(this,
316 QObject::tr("Session failed"),
317 QObject::tr("Cannot open session: Not all components were found."));
318 //if(ses) delete ses;
319 return;
320 }
321
312 m_sessions.append( ses ); 322 m_sessions.append( ses );
diff --git a/noncore/apps/opie-console/opie-console.pro b/noncore/apps/opie-console/opie-console.pro
index ef6bc21..26bce83 100644
--- a/noncore/apps/opie-console/opie-console.pro
+++ b/noncore/apps/opie-console/opie-console.pro
@@ -4,3 +4,3 @@ CONFIG = qt debug
4DESTDIR = $(OPIEDIR)/bin 4DESTDIR = $(OPIEDIR)/bin
5HEADERS = io_layer.h io_serial.h io_irda.h io_bt.h\ 5HEADERS = io_layer.h io_serial.h io_irda.h io_bt.h io_modem.h \
6 file_layer.h filetransfer.h \ 6 file_layer.h filetransfer.h \
@@ -37,3 +37,3 @@ HEADERS = io_layer.h io_serial.h io_irda.h io_bt.h\
37 37
38SOURCES = io_layer.cpp io_serial.cpp io_irda.cpp io_bt.cpp \ 38SOURCES = io_layer.cpp io_serial.cpp io_irda.cpp io_bt.cpp io_modem.cpp \
39 file_layer.cpp filetransfer.cpp \ 39 file_layer.cpp filetransfer.cpp \