summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_modem.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/io_modem.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_modem.cpp8
1 files changed, 5 insertions, 3 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
@@ -3,8 +3,8 @@
3 3
4#include "dialer.h" 4#include "dialer.h"
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}
9 9
10 10
@@ -20,6 +20,7 @@ void IOModem::close() {
20} 20}
21 21
22bool IOModem::open() { 22bool IOModem::open() {
23 qWarning("IOModem::open");
23 IOSerial::open(); 24 IOSerial::open();
24 25
25 Dialer d(m_profile); 26 Dialer d(m_profile);
@@ -68,6 +69,7 @@ QString IOModem::name() const {
68 return "Modem IO Layer"; 69 return "Modem IO Layer";
69} 70}
70 71
71void IOIrda::slotExited(OProcess* proc ){ 72void IOModem::slotExited(OProcess* proc ){
72 close(); 73 close();
73} 74}
75