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.cpp | 13 |
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 | |||
@@ -1,8 +1,10 @@ | |||
1 | 1 | ||
2 | #include "io_modem.h" | 2 | #include "io_modem.h" |
3 | 3 | ||
4 | IOModem:IOModem( const Profile &config ) : IOSerial( config ) { | 4 | #include "dialer.h" |
5 | 5 | ||
6 | IOModem:IOModem( const Profile &config ) : IOSerial( config ) { | ||
7 | m_config = config; | ||
6 | } | 8 | } |
7 | 9 | ||
8 | 10 | ||
@@ -18,10 +20,15 @@ void IOModem::close() { | |||
18 | } | 20 | } |
19 | 21 | ||
20 | bool IOModem::open() { | 22 | bool 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 | } |
26 | 33 | ||
27 | void IOModem::reload( const Profile &config ) { | 34 | void IOModem::reload( const Profile &config ) { |