summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_modem.cpp
Side-by-side diff
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.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 @@
#include "io_modem.h"
#include "dialer.h"
-IOModem:IOModem( const Profile &config ) : IOSerial( config ) {
- m_config = config;
+IOModem::IOModem( const Profile &profile )
+ : IOSerial( profile ), m_profile( profile ) {
}
IOModem::~IOModem() {
}
@@ -17,12 +17,13 @@ void IOModem::close() {
IOSerial::close();
}
bool IOModem::open() {
+ qWarning("IOModem::open");
IOSerial::open();
Dialer d(m_profile);
int result = d.exec();
if(result == QDialog::Accepted)
{
@@ -65,9 +66,10 @@ QString IOModem::identifier() const {
}
QString IOModem::name() const {
return "Modem IO Layer";
}
-void IOIrda::slotExited(OProcess* proc ){
+void IOModem::slotExited(OProcess* proc ){
close();
}
+