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

MScanListItem Class Reference

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

Inheritance diagram for MScanListItem:

Inheritance graph
[legend]
Collaboration diagram for MScanListItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MScanListItem (QListView *parent, const QString &type="unknown", const QString &essid="unknown", const QString &macaddr="unknown", bool wep=false, int channel=0, int signal=0, bool probed=false)
 MScanListItem (QListViewItem *parent, const QString &type="unknown", const QString &essid="unknown", const QString &macaddr="unknown", bool wep=false, int channel=0, int signal=0)
const QStringessid () const
const QStringmacaddr ()
bool wep ()
int channel ()
int signal ()
int beacons ()
void setSignal (int signal)
void receivedBeacon ()
void setManufacturer (const QString &manufacturer)
void setLocation (const QString &location)
virtual Opie::Ui::OListViewItemchildFactory ()
virtual void serializeTo (QDataStream &s) const
virtual void serializeFrom (QDataStream &s)
virtual QString key (int id, bool) const

Public Attributes

QString type

Protected Member Functions

virtual void decorateItem (QString type, QString essid, QString macaddr, bool wep, int channel, int signal, bool probed)

Private Attributes

QString _type
QString _essid
QString _macaddr
bool _wep
int _channel
int _signal
int _beacons

Constructor & Destructor Documentation

MScanListItem::MScanListItem QListView *  parent,
const QString type = "unknown",
const QString essid = "unknown",
const QString macaddr = "unknown",
bool  wep = false,
int  channel = 0,
int  signal = 0,
bool  probed = false
 

Definition at line 414 of file scanlist.cpp.

References decorateItem(), WellenreiterConfigWindow::instance(), and odebug.

Referenced by childFactory().

MScanListItem::MScanListItem QListViewItem *  parent,
const QString type = "unknown",
const QString essid = "unknown",
const QString macaddr = "unknown",
bool  wep = false,
int  channel = 0,
int  signal = 0
 

Definition at line 430 of file scanlist.cpp.

References decorateItem(), WellenreiterConfigWindow::instance(), and odebug.


Member Function Documentation

int MScanListItem::beacons  )  [inline]
 

Definition at line 100 of file scanlist.h.

References _beacons.

int MScanListItem::channel  )  [inline]
 

Definition at line 98 of file scanlist.h.

References _channel.

OListViewItem * MScanListItem::childFactory  )  [virtual]
 

create a list view item as child of this object

Returns:
the new object

Reimplemented from Opie::Ui::OListViewItem.

Definition at line 451 of file scanlist.cpp.

References MScanListItem().

void MScanListItem::decorateItem QString  type,
QString  essid,
QString  macaddr,
bool  wep,
int  channel,
int  signal,
bool  probed
[protected, virtual]
 

Definition at line 486 of file scanlist.cpp.

References _beacons, _channel, _essid, _macaddr, _signal, _type, col_channel, col_firstseen, col_sig, col_type, col_wep, QTime::currentTime(), WellenreiterConfigWindow::instance(), Opie::Core::OResource::loadPixmap(), QString::number(), odebug, Opie::Core::OResource::SmallIcon, and QString::sprintf().

Referenced by MScanListItem().

const QString & MScanListItem::essid  )  const
 

Definition at line 443 of file scanlist.cpp.

References _essid.

QString MScanListItem::key int  id,
bool 
const [virtual]
 

Definition at line 563 of file scanlist.cpp.

References col_channel, col_sig, str, and text.

const QString& MScanListItem::macaddr  )  [inline]
 

Definition at line 96 of file scanlist.h.

References _macaddr.

void MScanListItem::receivedBeacon  ) 
 

Definition at line 549 of file scanlist.cpp.

References _beacons, _macaddr, col_lastseen, col_sig, QTime::currentTime(), QString::number(), odebug, p, and receivedBeacon().

Referenced by receivedBeacon().

void MScanListItem::serializeFrom QDataStream s  )  [virtual]
 

serialize this object to or from a QDataStream

Parameters:
s the stream used to serialize this object.

Reimplemented from Opie::Ui::OListViewItem.

Definition at line 467 of file scanlist.cpp.

References _type, _wep, col_type, col_wep, Opie::Core::OResource::loadPixmap(), odebug, and Opie::Core::OResource::SmallIcon.

void MScanListItem::serializeTo QDataStream s  )  const [virtual]
 

serialize this object to or from a QDataStream

Parameters:
s the stream used to serialize this object.

Reimplemented from Opie::Ui::OListViewItem.

Definition at line 456 of file scanlist.cpp.

References _type, _wep, and odebug.

void MScanListItem::setLocation const QString location  ) 
 

Definition at line 543 of file scanlist.cpp.

References col_location.

void MScanListItem::setManufacturer const QString manufacturer  ) 
 

Definition at line 537 of file scanlist.cpp.

References col_manuf.

void MScanListItem::setSignal int  signal  )  [inline]
 

Definition at line 102 of file scanlist.h.

int MScanListItem::signal  )  [inline]
 

Definition at line 99 of file scanlist.h.

References _signal.

bool MScanListItem::wep  )  [inline]
 

Definition at line 97 of file scanlist.h.

References _wep.


Member Data Documentation

int MScanListItem::_beacons [private]
 

Definition at line 121 of file scanlist.h.

Referenced by beacons(), decorateItem(), and receivedBeacon().

int MScanListItem::_channel [private]
 

Definition at line 119 of file scanlist.h.

Referenced by channel(), and decorateItem().

QString MScanListItem::_essid [private]
 

Definition at line 116 of file scanlist.h.

Referenced by decorateItem(), and essid().

QString MScanListItem::_macaddr [private]
 

Definition at line 117 of file scanlist.h.

Referenced by decorateItem(), macaddr(), and receivedBeacon().

int MScanListItem::_signal [private]
 

Definition at line 120 of file scanlist.h.

Referenced by decorateItem(), and signal().

QString MScanListItem::_type [private]
 

Definition at line 115 of file scanlist.h.

Referenced by decorateItem(), serializeFrom(), and serializeTo().

bool MScanListItem::_wep [private]
 

Definition at line 118 of file scanlist.h.

Referenced by serializeFrom(), serializeTo(), and wep().

QString MScanListItem::type
 

Definition at line 91 of file scanlist.h.

Referenced by MScanListView::contextMenuRequested().


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