summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_modem.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/io_modem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_modem.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp
index 4d6035d..41febfb 100644
--- a/noncore/apps/opie-console/io_modem.cpp
+++ b/noncore/apps/opie-console/io_modem.cpp
@@ -3,4 +3,6 @@
3 3
4IOModem:IOModem( const Profile &config ) : IOSerial( config ) { 4#include "dialer.h"
5 5
6IOModem:IOModem( const Profile &config ) : IOSerial( config ) {
7 m_config = config;
6} 8}
@@ -20,6 +22,11 @@ void IOModem::close() {
20bool IOModem::open() { 22bool IOModem::open() {
21
22
23 IOSerial::open(); 23 IOSerial::open();
24 24
25 Dialer d(m_profile);
26 int result = d.exec();
27 if(result == QDialog::Accepted)
28 {
29 return true;
30 }
31 else return false;
25} 32}