author | josef <josef> | 2002-10-18 10:25:44 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-18 10:25:44 (UTC) |
commit | dd15f8b7104678da5969a3e93a4b14cd3640955c (patch) (unidiff) | |
tree | ca05d8e196a72101a6044ac0f7ca5fefdbd63d66 /noncore/apps/opie-console/io_modem.cpp | |
parent | c01fc99488d4ff9e1de2eb4d93fc200ed8e19a81 (diff) | |
download | opie-dd15f8b7104678da5969a3e93a4b14cd3640955c.zip opie-dd15f8b7104678da5969a3e93a4b14cd3640955c.tar.gz opie-dd15f8b7104678da5969a3e93a4b14cd3640955c.tar.bz2 |
- implement proper disconnect for modem connections
- let transfer dialog use widgetStack()
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.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp index c04aad1..2f0c04e 100644 --- a/noncore/apps/opie-console/io_modem.cpp +++ b/noncore/apps/opie-console/io_modem.cpp | |||
@@ -12,13 +12,16 @@ IOModem::IOModem( const Profile &profile ) | |||
12 | IOModem::~IOModem() { | 12 | IOModem::~IOModem() { |
13 | 13 | ||
14 | } | 14 | } |
15 | 15 | ||
16 | 16 | ||
17 | void IOModem::close() { | 17 | void IOModem::close() { |
18 | // maybe do a hangup here just in case...? | 18 | // Hangup, discarding result |
19 | Dialer d(m_profile, rawIO()); | ||
20 | d.setHangupOnly(); | ||
21 | d.exec(); | ||
19 | 22 | ||
20 | IOSerial::close(); | 23 | IOSerial::close(); |
21 | } | 24 | } |
22 | 25 | ||
23 | bool IOModem::open() { | 26 | bool IOModem::open() { |
24 | bool ret = IOSerial::open(); | 27 | bool ret = IOSerial::open(); |