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

PacketView Class Reference

#include </home/clem/local/src/opie/noncore/net/wellenreiter/gui/packetview.h>

Collaboration diagram for PacketView:

Collaboration graph
[legend]
List of all members.

Public Slots

void showPacket (int number)
void activated (QWidget *)

Public Member Functions

 PacketView (QWidget *parent=0, const char *name="PacketView", WFlags f=0)
void add (const Opie::Net::OPacket *p, int size)
const QString getLog () const
void clear ()

Protected Member Functions

void _doSubPackets (QObjectList *, int)
void _doHexPacket (const Opie::Net::OPacket *)

Protected Attributes

QSpinBox * _number
QLabel * _label
Opie::Ui::OListView_list
QTextView * _hex
QList< const Opie::Net::OPacket > _packets

Constructor & Destructor Documentation

PacketView::PacketView QWidget *  parent = 0,
const char *  name = "PacketView",
WFlags  f = 0
 

Definition at line 39 of file packetview.cpp.

References _hex, _label, _list, _number, _packets, activated(), Opie::Ui::OListView::addColumn(), Qt::AlignCenter, Qt::AlignLeft, clear(), Config::readEntry(), Config::readNumEntry(), Config::setGroup(), and showPacket().


Member Function Documentation

void PacketView::_doHexPacket const Opie::Net::OPacket *   )  [protected]
 

Definition at line 146 of file packetview.cpp.

References _hex, and oApp.

Referenced by showPacket().

void PacketView::_doSubPackets QObjectList *  ,
int 
[protected]
 

Definition at line 134 of file packetview.cpp.

References _list, QString::number(), and o.

Referenced by showPacket().

void PacketView::activated QWidget *   )  [slot]
 

Definition at line 126 of file packetview.cpp.

References _number, and _packets.

Referenced by PacketView().

void PacketView::add const Opie::Net::OPacket *  p,
int  size
 

Definition at line 75 of file packetview.cpp.

References _number, _packets, odebug, and oendl.

void PacketView::clear  ) 
 

Definition at line 159 of file packetview.cpp.

References _hex, _label, _list, _number, and _packets.

Referenced by PacketView().

const QString PacketView::getLog  )  const
 

Definition at line 154 of file packetview.cpp.

References QString::null.

void PacketView::showPacket int  number  )  [slot]
 

Definition at line 107 of file packetview.cpp.

References _doHexPacket(), _doSubPackets(), _hex, _label, _list, _packets, odebug, oendl, p, QDateTime::setTime_t(), and QDateTime::toString().

Referenced by PacketView().


Member Data Documentation

QTextView* PacketView::_hex [protected]
 

Definition at line 52 of file packetview.h.

Referenced by _doHexPacket(), clear(), PacketView(), and showPacket().

QLabel* PacketView::_label [protected]
 

Definition at line 50 of file packetview.h.

Referenced by clear(), PacketView(), and showPacket().

Opie::Ui::OListView* PacketView::_list [protected]
 

Definition at line 51 of file packetview.h.

Referenced by _doSubPackets(), clear(), PacketView(), and showPacket().

QSpinBox* PacketView::_number [protected]
 

Definition at line 49 of file packetview.h.

Referenced by activated(), add(), clear(), and PacketView().

QList<const Opie::Net::OPacket> PacketView::_packets [protected]
 

Definition at line 53 of file packetview.h.

Referenced by activated(), add(), clear(), PacketView(), and showPacket().


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