Diffstat (limited to 'noncore/apps/opie-console/dialer.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/dialer.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/noncore/apps/opie-console/dialer.cpp b/noncore/apps/opie-console/dialer.cpp index 7010594..8883b83 100644 --- a/noncore/apps/opie-console/dialer.cpp +++ b/noncore/apps/opie-console/dialer.cpp @@ -2,8 +2,4 @@ #include "io_modem.h" -/* OPIE */ -#include <opie2/odebug.h> -using namespace Opie::Core; - /* QT */ #include <qlayout.h> @@ -110,5 +106,4 @@ void Dialer::slotCancel() void Dialer::reset() { - owarn << "reset" << oendl; switchState(state_cancel); } @@ -142,9 +137,7 @@ void Dialer::dial(const QString& number) void Dialer::trydial(const QString& number) { - owarn << "TryDial:" << number.latin1() << "" << oendl; if(state != state_cancel) switchState(state_preinit); if(cleanshutdown) { - owarn << "HangupString " << m_profile.readEntry("HangupString") << oendl; send(m_profile.readEntry("HangupString", MODEM_DEFAULT_HANGUP_STRING ) + "\r"); } @@ -153,5 +146,4 @@ void Dialer::trydial(const QString& number) { switchState(state_init); -// owarn << "Init String " + m_profile.readEntry("InitString") << oendl; send(m_profile.readEntry("InitString",MODEM_DEFAULT_INIT_STRING ) + "\r"); QString response2 = receive(); @@ -184,5 +176,4 @@ void Dialer::trydial(const QString& number) if(state != state_cancel) { - owarn << "progress" << oendl; switchState(state_dialing); @@ -200,5 +191,5 @@ void Dialer::trydial(const QString& number) QMessageBox::warning(this, QObject::tr("Failure"), - QObject::tr("Dialing the number failed.")); + QObject::tr("<qt>Dialing the number failed.</qt>")); slotCancel(); } @@ -220,5 +211,4 @@ void Dialer::send(const QString& msg) QString termination; - owarn << "Sending: " << m.latin1() << "" << oendl; /* termination = "\r"; @@ -253,9 +243,7 @@ QString Dialer::receive() buffer[i] = buffer[i] & 0x7F; buffer[ret] = 0; - owarn << "Got: " << buffer << "" << oendl; buf.append(QString(buffer)); if(buf.contains("OK") || buf.contains("ERROR") || buf.contains("CONNECT") || (buf.contains("BUSY"))) { - //owarn << "Receiving: '" << buf.latin1() << "'" << oendl; cleanshutdown = 1; return buf; |