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

IOBt Class Reference

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

Inheritance diagram for IOBt:

Inheritance graph
[legend]
Collaboration diagram for IOBt:

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

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

Private Slots

void slotExited (Opie::Core::OProcess *proc)

Private Attributes

Opie::Core::OProcessm_attach
QString m_mac

Constructor & Destructor Documentation

IOBt::IOBt const Profile  ) 
 

Definition at line 4 of file io_bt.cpp.

References m_attach.

IOBt::~IOBt  ) 
 

Definition at line 9 of file io_bt.cpp.

References m_attach.


Member Function Documentation

void IOBt::close  )  [virtual, slot]
 

close the io

Reimplemented from IOSerial.

Definition at line 16 of file io_bt.cpp.

References IOSerial::close(), and m_attach.

Referenced by slotExited().

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

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

Reimplemented from IOLayer.

QString IOBt::identifier  )  const [virtual]
 

a small internal identifier

Reimplemented from IOSerial.

Definition at line 68 of file io_bt.cpp.

QString IOBt::name  )  const [virtual]
 

a short name

Reimplemented from IOSerial.

Definition at line 72 of file io_bt.cpp.

bool IOBt::open  )  [virtual, slot]
 

bool open

Reimplemented from IOSerial.

Definition at line 26 of file io_bt.cpp.

References QString::isEmpty(), m_attach, m_mac, IOSerial::open(), OProcess, slotExited(), and Opie::Core::OProcess::start().

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

received input as QCString

Reimplemented from IOLayer.

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

closes and reloads the settings

Reimplemented from IOSerial.

Definition at line 57 of file io_bt.cpp.

References BT_DEFAULT_BAUD, BT_DEFAULT_DBITS, BT_DEFAULT_DEVICE, BT_DEFAULT_FLOW, BT_DEFAULT_MAC, BT_DEFAULT_PARITY, BT_DEFAULT_SBITS, IOSerial::m_baud, IOSerial::m_dbits, IOSerial::m_device, IOSerial::m_flow, m_mac, IOSerial::m_parity, IOSerial::m_sbits, Profile::readEntry(), and Profile::readNumEntry().

void IOBt::slotExited Opie::Core::OProcess proc  )  [private, slot]
 

Definition at line 76 of file io_bt.cpp.

References close().

Referenced by open().


Member Data Documentation

Opie::Core::OProcess* IOBt::m_attach [private]
 

Definition at line 41 of file io_bt.h.

Referenced by close(), IOBt(), open(), and ~IOBt().

QString IOBt::m_mac [private]
 

Definition at line 42 of file io_bt.h.

Referenced by open(), and reload().


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