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
@@ -1,13 +1,13 @@
1 1
2#include "io_modem.h" 2#include "io_modem.h"
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
11IOModem::~IOModem() { 11IOModem::~IOModem() {
12 12
13} 13}
@@ -17,12 +17,13 @@ void IOModem::close() {
17 17
18 IOSerial::close(); 18 IOSerial::close();
19 19
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);
26 int result = d.exec(); 27 int result = d.exec();
27 if(result == QDialog::Accepted) 28 if(result == QDialog::Accepted)
28 { 29 {
@@ -65,9 +66,10 @@ QString IOModem::identifier() const {
65} 66}
66 67
67QString IOModem::name() const { 68QString 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