Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IOModem Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-console/io_modem.h>

Inheritance diagram for IOModem:

Inheritance graph
[legend]
Collaboration diagram for IOModem:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual bool open ()
virtual void close ()
virtual void reload (const Profile &)

Signals

void received (const QByteArray &)
void error (int, const QString &)

Public Member Functions

 IOModem (const Profile &)
 ~IOModem ()
virtual QString identifier () const
virtual QString name () const

Private Attributes

QString m_initString
QString m_resetString
QString m_dialPref1
QString m_dialSuf1
QString m_dialPref2
QString m_dialSuf2
QString m_dialPref3
QString m_dialSuf3
QString m_connect
QString m_hangup
QString m_cancel
int m_dialTime
int m_delayRedial
int m_numberTries
int m_dtrDropTime
int m_bpsDetect
int m_dcdLines
int m_multiLineUntag
Profile m_profile

Constructor & Destructor Documentation

IOModem::IOModem const Profile  ) 
 

Definition at line 5 of file io_modem.cpp.

References m_profile.

IOModem::~IOModem  ) 
 

Definition at line 11 of file io_modem.cpp.


Member Function Documentation

void IOModem::close  )  [virtual, slot]
 

close the io

Reimplemented from IOSerial.

Definition at line 15 of file io_modem.cpp.

References IOSerial::close(), d, IOSerial::internAttach(), IOSerial::internDetach(), IOSerial::m_fd, m_profile, and Dialer::setHangupOnly().

Referenced by open().

void IOModem::error int  ,
const QString
[virtual, signal]
 

an error occured int for the error number and QString for a text

Reimplemented from IOLayer.

QString IOModem::identifier  )  const [virtual]
 

a small internal identifier

Reimplemented from IOSerial.

Definition at line 80 of file io_modem.cpp.

QString IOModem::name  )  const [virtual]
 

a short name

Reimplemented from IOSerial.

Definition at line 84 of file io_modem.cpp.

bool IOModem::open  )  [virtual, slot]
 

bool open

Reimplemented from IOSerial.

Definition at line 28 of file io_modem.cpp.

References close(), d, IOSerial::internAttach(), IOSerial::internDetach(), IOSerial::m_fd, m_profile, and IOSerial::open().

void IOModem::received const QByteArray  )  [virtual, signal]
 

received input as QCString

Reimplemented from IOLayer.

void IOModem::reload const Profile  )  [virtual, slot]
 

closes and reloads the settings

Reimplemented from IOSerial.

Definition at line 50 of file io_modem.cpp.

References IOSerial::m_baud, m_bpsDetect, m_cancel, m_connect, IOSerial::m_dbits, m_dcdLines, m_delayRedial, IOSerial::m_device, m_dialPref1, m_dialPref2, m_dialPref3, m_dialSuf1, m_dialSuf2, m_dialSuf3, m_dialTime, m_dtrDropTime, IOSerial::m_flow, m_hangup, m_initString, m_multiLineUntag, m_numberTries, IOSerial::m_parity, m_resetString, IOSerial::m_sbits, MODEM_DEFAULT_BAUD, MODEM_DEFAULT_BPS_DETECT, MODEM_DEFAULT_CANCEL_STRING, MODEM_DEFAULT_CONNECT_STRING, MODEM_DEFAULT_DBITS, MODEM_DEFAULT_DCD_LINES, MODEM_DEFAULT_DELAY_REDIAL, MODEM_DEFAULT_DEVICE, MODEM_DEFAULT_DIAL_PREFIX1, MODEM_DEFAULT_DIAL_SUFFIX1, MODEM_DEFAULT_DIAL_TIME, MODEM_DEFAULT_DTR_DROP_TIME, MODEM_DEFAULT_FLOW, MODEM_DEFAULT_HANGUP_STRING, MODEM_DEFAULT_INIT_STRING, MODEM_DEFAULT_MULTI_LINE_UNTAG, MODEM_DEFAULT_NUMBER_TRIES, MODEM_DEFAULT_PARITY, MODEM_DEFAULT_RESET_STRING, MODEM_DEFAULT_SBITS, Profile::readBoolEntry(), Profile::readEntry(), and Profile::readNumEntry().


Member Data Documentation

int IOModem::m_bpsDetect [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

QString IOModem::m_cancel [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_connect [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

int IOModem::m_dcdLines [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

int IOModem::m_delayRedial [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

QString IOModem::m_dialPref1 [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_dialPref2 [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_dialPref3 [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_dialSuf1 [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_dialSuf2 [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_dialSuf3 [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

int IOModem::m_dialTime [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

int IOModem::m_dtrDropTime [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

QString IOModem::m_hangup [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

QString IOModem::m_initString [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().

int IOModem::m_multiLineUntag [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

int IOModem::m_numberTries [private]
 

Definition at line 62 of file io_modem.h.

Referenced by reload().

Profile IOModem::m_profile [private]
 

Definition at line 64 of file io_modem.h.

Referenced by close(), IOModem(), and open().

QString IOModem::m_resetString [private]
 

Definition at line 60 of file io_modem.h.

Referenced by reload().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:36:27 2005 for OPIE by  doxygen 1.4.2