From fb99aec5215da635abfa28288d170f110114bba3 Mon Sep 17 00:00:00 2001 From: josef Date: Tue, 15 Oct 2002 21:10:29 +0000 Subject: - io_modem must keep copy of profile, otherwise it crashes (now it works - doh!) - try to use key/value pairs for dialing where currently possible (init string and dial sequence) - when editing telephone number, try to read in, including special chars stripping (-, /, whitespace) using QRegExp --- (limited to 'noncore/apps/opie-console/io_modem.cpp') diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp index d93dc5a..22a3673 100644 --- a/noncore/apps/opie-console/io_modem.cpp +++ b/noncore/apps/opie-console/io_modem.cpp @@ -4,7 +4,8 @@ #include "dialer.h" IOModem::IOModem( const Profile &profile ) - : IOSerial( profile ), m_profile( profile ) { + : IOSerial( profile ) { + m_profile = profile; } @@ -14,19 +15,16 @@ IOModem::~IOModem() { void IOModem::close() { + // maybe do a hangup here just in case...? IOSerial::close(); - } bool IOModem::open() { bool ret = IOSerial::open(); if(!ret) return false; - qWarning("IOModem::open continues..."); - Dialer d(m_profile); - qWarning("dialer created"); int result = d.exec(); if(result == QDialog::Accepted) -- cgit v0.9.0.2