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

IOLayerBase Class Reference

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

List of all members.

Public Types

enum  Flow { Hardware, Software, None }
enum  Parity { Odd = 2, Even = 1, NonePar = 0 }
enum  Speed {
  Baud_115200, Baud_57600, Baud_38400, Baud_19200,
  Baud_9600, Baud_4800, Baud_2400, Baud_1200
}
enum  Data { Data_Five = 5, Data_Six = 6, Data_Seven = 7, Data_Eight = 8 }
enum  Stop { Stop_One = 1, Stop_OnePointFive = 15, Stop_Two = 2 }

Public Member Functions

 IOLayerBase (QWidget *base, const char *name=0l)
 ~IOLayerBase ()
void setFlow (Flow flo)
void setParity (Parity par)
void setSpeed (Speed speed)
void setData (Data data)
void setStop (Stop stop)
Flow flow () const
Parity parity () const
Speed speed () const
Data data () const
Stop stop () const

Private Attributes

QVBoxLayout * m_lroot
QLabel * m_speedLabel
QComboBox * m_speedBox
QButtonGroup * m_groupFlow
QButtonGroup * m_groupData
QButtonGroup * m_groupStop
QRadioButton * m_flowHw
QRadioButton * m_flowSw
QRadioButton * m_flowNone
QButtonGroup * m_groupParity
QRadioButton * m_parityOdd
QRadioButton * m_parityEven
QRadioButton * m_parityNone
QRadioButton * m_data5
QRadioButton * m_data6
QRadioButton * m_data7
QRadioButton * m_data8
QRadioButton * m_stop1
QRadioButton * m_stop15
QRadioButton * m_stop2
QHBoxLayout * m_hbox
QHBoxLayout * m_hboxPar


Member Enumeration Documentation

enum IOLayerBase::Data
 

Enumeration values:
Data_Five 
Data_Six 
Data_Seven 
Data_Eight 

Definition at line 28 of file iolayerbase.h.

enum IOLayerBase::Flow
 

Enumeration values:
Hardware 
Software 
None 

Definition at line 18 of file iolayerbase.h.

enum IOLayerBase::Parity
 

Enumeration values:
Odd 
Even 
NonePar 

Definition at line 19 of file iolayerbase.h.

enum IOLayerBase::Speed
 

Enumeration values:
Baud_115200 
Baud_57600 
Baud_38400 
Baud_19200 
Baud_9600 
Baud_4800 
Baud_2400 
Baud_1200 

Definition at line 20 of file iolayerbase.h.

enum IOLayerBase::Stop
 

Enumeration values:
Stop_One 
Stop_OnePointFive 
Stop_Two 

Definition at line 29 of file iolayerbase.h.


Constructor & Destructor Documentation

IOLayerBase::IOLayerBase QWidget *  base,
const char *  name = 0l
 

Definition at line 49 of file iolayerbase.cpp.

References id_baud_115200, id_baud_1200, id_baud_19200, id_baud_2400, id_baud_38400, id_baud_4800, id_baud_57600, id_baud_9600, m_data5, m_data6, m_data7, m_data8, m_flowHw, m_flowNone, m_flowSw, m_groupData, m_groupFlow, m_groupParity, m_groupStop, m_lroot, m_parityEven, m_parityNone, m_parityOdd, m_speedBox, m_speedLabel, m_stop1, m_stop15, m_stop2, and tr.

IOLayerBase::~IOLayerBase  ) 
 

Definition at line 96 of file iolayerbase.cpp.


Member Function Documentation

IOLayerBase::Data IOLayerBase::data  )  const
 

Definition at line 240 of file iolayerbase.cpp.

References Data_Eight, Data_Five, Data_Seven, Data_Six, m_data5, m_data6, and m_data7.

Referenced by SerialConfigWidget::save(), and ModemConfigWidget::save().

IOLayerBase::Flow IOLayerBase::flow  )  const
 

Definition at line 192 of file iolayerbase.cpp.

References Hardware, m_flowHw, m_flowSw, None, and Software.

Referenced by SerialConfigWidget::save(), ModemConfigWidget::save(), IrdaConfigWidget::save(), and BTConfigWidget::save().

IOLayerBase::Parity IOLayerBase::parity  )  const
 

Definition at line 201 of file iolayerbase.cpp.

References Even, m_parityEven, m_parityOdd, NonePar, and Odd.

Referenced by SerialConfigWidget::save(), ModemConfigWidget::save(), IrdaConfigWidget::save(), and BTConfigWidget::save().

void IOLayerBase::setData Data  data  ) 
 

Definition at line 158 of file iolayerbase.cpp.

References Data_Five, Data_Seven, Data_Six, m_data5, m_data6, m_data7, and m_data8.

Referenced by SerialConfigWidget::load(), and ModemConfigWidget::load().

void IOLayerBase::setFlow Flow  flo  ) 
 

Definition at line 99 of file iolayerbase.cpp.

References Hardware, m_flowHw, m_flowNone, m_flowSw, None, and Software.

Referenced by SerialConfigWidget::load(), ModemConfigWidget::load(), IrdaConfigWidget::load(), and BTConfigWidget::load().

void IOLayerBase::setParity Parity  par  ) 
 

Definition at line 113 of file iolayerbase.cpp.

References Even, m_parityEven, m_parityNone, m_parityOdd, NonePar, and Odd.

Referenced by SerialConfigWidget::load(), ModemConfigWidget::load(), IrdaConfigWidget::load(), and BTConfigWidget::load().

void IOLayerBase::setSpeed Speed  speed  ) 
 

Definition at line 126 of file iolayerbase.cpp.

References Baud_115200, Baud_1200, Baud_19200, Baud_2400, Baud_38400, Baud_4800, Baud_57600, Baud_9600, id_baud_115200, id_baud_1200, id_baud_19200, id_baud_2400, id_baud_38400, id_baud_4800, id_baud_57600, id_baud_9600, and m_speedBox.

Referenced by SerialConfigWidget::load(), ModemConfigWidget::load(), IrdaConfigWidget::load(), and BTConfigWidget::load().

void IOLayerBase::setStop Stop  stop  ) 
 

Definition at line 176 of file iolayerbase.cpp.

References m_stop1, m_stop15, m_stop2, Stop_OnePointFive, and Stop_Two.

Referenced by SerialConfigWidget::load(), and ModemConfigWidget::load().

IOLayerBase::Speed IOLayerBase::speed  )  const
 

Definition at line 211 of file iolayerbase.cpp.

References Baud_115200, Baud_1200, Baud_19200, Baud_2400, Baud_38400, Baud_4800, Baud_57600, Baud_9600, id_baud_115200, id_baud_1200, id_baud_19200, id_baud_2400, id_baud_38400, id_baud_4800, id_baud_57600, id_baud_9600, and m_speedBox.

Referenced by SerialConfigWidget::save(), ModemConfigWidget::save(), IrdaConfigWidget::save(), and BTConfigWidget::save().

IOLayerBase::Stop IOLayerBase::stop  )  const
 

Definition at line 251 of file iolayerbase.cpp.

References m_stop15, m_stop2, Stop_One, Stop_OnePointFive, and Stop_Two.

Referenced by SerialConfigWidget::save(), and ModemConfigWidget::save().


Member Data Documentation

QRadioButton* IOLayerBase::m_data5 [private]
 

Definition at line 54 of file iolayerbase.h.

Referenced by data(), IOLayerBase(), and setData().

QRadioButton * IOLayerBase::m_data6 [private]
 

Definition at line 54 of file iolayerbase.h.

Referenced by data(), IOLayerBase(), and setData().

QRadioButton * IOLayerBase::m_data7 [private]
 

Definition at line 54 of file iolayerbase.h.

Referenced by data(), IOLayerBase(), and setData().

QRadioButton * IOLayerBase::m_data8 [private]
 

Definition at line 54 of file iolayerbase.h.

Referenced by IOLayerBase(), and setData().

QRadioButton* IOLayerBase::m_flowHw [private]
 

Definition at line 50 of file iolayerbase.h.

Referenced by flow(), IOLayerBase(), and setFlow().

QRadioButton * IOLayerBase::m_flowNone [private]
 

Definition at line 50 of file iolayerbase.h.

Referenced by IOLayerBase(), and setFlow().

QRadioButton * IOLayerBase::m_flowSw [private]
 

Definition at line 50 of file iolayerbase.h.

Referenced by flow(), IOLayerBase(), and setFlow().

QButtonGroup * IOLayerBase::m_groupData [private]
 

Definition at line 49 of file iolayerbase.h.

Referenced by IOLayerBase().

QButtonGroup* IOLayerBase::m_groupFlow [private]
 

Definition at line 49 of file iolayerbase.h.

Referenced by IOLayerBase().

QButtonGroup* IOLayerBase::m_groupParity [private]
 

Definition at line 52 of file iolayerbase.h.

Referenced by IOLayerBase().

QButtonGroup * IOLayerBase::m_groupStop [private]
 

Definition at line 49 of file iolayerbase.h.

Referenced by IOLayerBase().

QHBoxLayout* IOLayerBase::m_hbox [private]
 

Definition at line 56 of file iolayerbase.h.

QHBoxLayout* IOLayerBase::m_hboxPar [private]
 

Definition at line 57 of file iolayerbase.h.

QVBoxLayout* IOLayerBase::m_lroot [private]
 

Definition at line 46 of file iolayerbase.h.

Referenced by IOLayerBase().

QRadioButton * IOLayerBase::m_parityEven [private]
 

Definition at line 53 of file iolayerbase.h.

Referenced by IOLayerBase(), parity(), and setParity().

QRadioButton * IOLayerBase::m_parityNone [private]
 

Definition at line 53 of file iolayerbase.h.

Referenced by IOLayerBase(), and setParity().

QRadioButton* IOLayerBase::m_parityOdd [private]
 

Definition at line 53 of file iolayerbase.h.

Referenced by IOLayerBase(), parity(), and setParity().

QComboBox* IOLayerBase::m_speedBox [private]
 

Definition at line 48 of file iolayerbase.h.

Referenced by IOLayerBase(), setSpeed(), and speed().

QLabel* IOLayerBase::m_speedLabel [private]
 

Definition at line 47 of file iolayerbase.h.

Referenced by IOLayerBase().

QRadioButton* IOLayerBase::m_stop1 [private]
 

Definition at line 55 of file iolayerbase.h.

Referenced by IOLayerBase(), and setStop().

QRadioButton * IOLayerBase::m_stop15 [private]
 

Definition at line 55 of file iolayerbase.h.

Referenced by IOLayerBase(), setStop(), and stop().

QRadioButton * IOLayerBase::m_stop2 [private]
 

Definition at line 55 of file iolayerbase.h.

Referenced by IOLayerBase(), setStop(), and stop().


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