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

ModemTransfer Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings/ppp/modeminfo.h>

Collaboration diagram for ModemTransfer:

Collaboration graph
[legend]
List of all members.

Public Slots

void init ()
void readtty ()
void do_script ()
void time_out_slot ()
void cancelbutton ()
void readChar (unsigned char)

Public Member Functions

 ModemTransfer (Modem *, QWidget *parent=0, const char *name=0)

Protected Member Functions

void closeEvent (QCloseEvent *e)

Private Member Functions

void ati_done ()

Private Attributes

Modem_modem
int step
QString readbuffer
QPushButton * cancel
QProgressBar * progressBar
QLabel * statusBar
QTimer * timeout_timer
QTimer * scripttimer
QString ati_query_strings [NUM_OF_ATI]

Constructor & Destructor Documentation

ModemTransfer::ModemTransfer Modem ,
QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 42 of file modeminfo.cpp.

References cancel, cancelbutton(), do_script(), init(), progressBar, scripttimer, statusBar, step, time_out_slot(), timeout_timer, tr, and TRUE.


Member Function Documentation

void ModemTransfer::ati_done  )  [private]
 

Definition at line 100 of file modeminfo.cpp.

References _modem, ati_query_strings, Modem::closetty(), QPEApplication::execDialog(), i, NUM_OF_ATI, scripttimer, ModemInfo::setAtiString(), timeout_timer, and Modem::unlockdevice().

Referenced by do_script().

void ModemTransfer::cancelbutton  )  [slot]
 

Definition at line 238 of file modeminfo.cpp.

References _modem, Modem::closetty(), Modem::hangup(), qApp, scripttimer, statusBar, Modem::stop(), timeout_timer, tr, and Modem::unlockdevice().

Referenced by closeEvent(), and ModemTransfer().

void ModemTransfer::closeEvent QCloseEvent *  e  )  [protected]
 

Definition at line 255 of file modeminfo.cpp.

References cancelbutton().

void ModemTransfer::do_script  )  [slot]
 

Definition at line 179 of file modeminfo.cpp.

References _modem, ati_done(), QString::local8Bit(), progressBar, readtty(), QString::sprintf(), statusBar, step, and Modem::writeLine().

Referenced by ModemTransfer().

void ModemTransfer::init  )  [slot]
 

Definition at line 130 of file modeminfo.cpp.

References _modem, Modem::flush(), Modem::hangup(), Modem::lockdevice(), Modem::modemMessage(), Modem::notify(), Modem::opentty(), qApp, readChar(), scripttimer, statusBar, step, tr, Modem::unlockdevice(), and Modem::writeLine().

Referenced by ModemTransfer().

void ModemTransfer::readChar unsigned  char  )  [slot]
 

Definition at line 215 of file modeminfo.cpp.

References QString::length(), and readbuffer.

Referenced by init().

void ModemTransfer::readtty  )  [slot]
 

Definition at line 221 of file modeminfo.cpp.

References ati_query_strings, QString::copy(), NUM_OF_ATI, readbuffer, QString::replace(), step, and QString::stripWhiteSpace().

Referenced by do_script().

void ModemTransfer::time_out_slot  )  [slot]
 

Definition at line 120 of file modeminfo.cpp.

References scripttimer, timeout_timer, tr, and warning().

Referenced by ModemTransfer().


Member Data Documentation

Modem* ModemTransfer::_modem [private]
 

Definition at line 65 of file modeminfo.h.

Referenced by ati_done(), cancelbutton(), do_script(), and init().

QString ModemTransfer::ati_query_strings[NUM_OF_ATI] [private]
 

Definition at line 75 of file modeminfo.h.

Referenced by ati_done(), and readtty().

QPushButton* ModemTransfer::cancel [private]
 

Definition at line 69 of file modeminfo.h.

Referenced by ModemTransfer().

QProgressBar* ModemTransfer::progressBar [private]
 

Definition at line 70 of file modeminfo.h.

Referenced by do_script(), and ModemTransfer().

QString ModemTransfer::readbuffer [private]
 

Definition at line 67 of file modeminfo.h.

Referenced by readChar(), and readtty().

QTimer* ModemTransfer::scripttimer [private]
 

Definition at line 74 of file modeminfo.h.

Referenced by ati_done(), cancelbutton(), init(), ModemTransfer(), and time_out_slot().

QLabel* ModemTransfer::statusBar [private]
 

Definition at line 71 of file modeminfo.h.

Referenced by cancelbutton(), do_script(), init(), and ModemTransfer().

int ModemTransfer::step [private]
 

Definition at line 66 of file modeminfo.h.

Referenced by do_script(), init(), ModemTransfer(), and readtty().

QTimer* ModemTransfer::timeout_timer [private]
 

Definition at line 73 of file modeminfo.h.

Referenced by ati_done(), cancelbutton(), ModemTransfer(), and time_out_slot().


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