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

WirelessApplet Class Reference

#include </home/clem/local/src/opie/noncore/applets/wirelessapplet/wireless.h>

Collaboration diagram for WirelessApplet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WirelessApplet (QWidget *parent=0, const char *name=0)
 ~WirelessApplet ()
virtual void timerEvent (QTimerEvent *)
void updateDelayChange (int delay)
void displayStyleChange (int style)
void updateDHCPConfig (bool, bool, bool, bool)

Static Public Member Functions

static int position ()

Public Attributes

WirelessControlstatus

Private Member Functions

void mousePressEvent (QMouseEvent *)
void paintEvent (QPaintEvent *)
void checkInterface ()
void renewDHCP ()
bool mustRepaint ()
void updatePopupWindow ()
int numberOfRings ()

Private Attributes

QPixmap snapshotPixmap
int visualStyle
int timer
Opie::Net::OWirelessNetworkInterfaceinterface
int oldrings
Opie::Net::OWirelessNetworkInterfaceoldiface
int oldqualityH
int oldsignalH
int oldnoiseH
QString oldESSID
QString oldAP
QString oldMODE
double oldFREQ
bool rocESSID
bool rocFREQ
bool rocAP
bool rocMODE

Constructor & Destructor Documentation

WirelessApplet::WirelessApplet QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 187 of file wireless.cpp.

References status.

WirelessApplet::~WirelessApplet  ) 
 

Definition at line 302 of file wireless.cpp.


Member Function Documentation

void WirelessApplet::checkInterface  )  [private]
 

Definition at line 197 of file wireless.cpp.

References QDictIterator< type >::current(), Opie::Net::ONetwork::instance(), interface, Opie::Net::ONetwork::iterator(), net, odebug, oendl, and Opie::Net::ONetwork::synchronize().

Referenced by timerEvent().

void WirelessApplet::displayStyleChange int  style  ) 
 

Definition at line 296 of file wireless.cpp.

References visualStyle.

Referenced by WirelessControl::displayStyleChange().

void WirelessApplet::mousePressEvent QMouseEvent *   )  [private]
 

Definition at line 341 of file wireless.cpp.

References WirelessControl::show(), and status.

bool WirelessApplet::mustRepaint  )  [private]
 

Definition at line 349 of file wireless.cpp.

References Opie::Net::OWirelessNetworkInterface::associatedAP(), Opie::Net::OWirelessNetworkInterface::frequency(), height, interface, Opie::Net::OWirelessNetworkInterface::mode(), numberOfRings(), odebug, oendl, oldAP, oldESSID, oldFREQ, oldiface, oldMODE, oldnoiseH, oldqualityH, oldrings, oldsignalH, renewDHCP(), rocAP, rocESSID, rocFREQ, rocMODE, Opie::Net::OWirelessNetworkInterface::signalStrength(), and Opie::Net::OWirelessNetworkInterface::SSID().

Referenced by timerEvent().

int WirelessApplet::numberOfRings  )  [private]
 

Definition at line 451 of file wireless.cpp.

References interface, odebug, oendl, and Opie::Net::OWirelessNetworkInterface::signalStrength().

Referenced by mustRepaint(), and paintEvent().

void WirelessApplet::paintEvent QPaintEvent *   )  [private]
 

Definition at line 464 of file wireless.cpp.

References height, i, numberOfRings(), odebug, oendl, p, and width.

int WirelessApplet::position  )  [static]
 

Definition at line 503 of file wireless.cpp.

void WirelessApplet::renewDHCP  )  [private]
 

Definition at line 225 of file wireless.cpp.

References interface, IO_ReadOnly, odebug, oendl, QFile::open(), pid, s, and QString::sprintf().

Referenced by mustRepaint().

void WirelessApplet::timerEvent QTimerEvent *   )  [virtual]
 

Definition at line 305 of file wireless.cpp.

References checkInterface(), Opie::Net::ONetwork::instance(), interface, mustRepaint(), odebug, oendl, status, and updatePopupWindow().

void WirelessApplet::updateDelayChange int  delay  ) 
 

Definition at line 286 of file wireless.cpp.

References timer.

Referenced by WirelessControl::updateDelayChange(), and WirelessControl::WirelessControl().

void WirelessApplet::updateDHCPConfig bool  ,
bool  ,
bool  ,
bool 
 

Definition at line 278 of file wireless.cpp.

References rocAP, rocESSID, rocFREQ, and rocMODE.

Referenced by WirelessControl::advancedConfigClicked(), and WirelessControl::WirelessControl().

void WirelessApplet::updatePopupWindow  )  [private]
 

Definition at line 434 of file wireless.cpp.

References MGraph::addValue(), Opie::Net::OWirelessNetworkInterface::associatedAP(), Opie::Net::OWirelessNetworkInterface::frequency(), interface, WirelessControl::mgraph, Opie::Net::OWirelessNetworkInterface::mode(), Opie::Net::OWirelessNetworkInterface::nickName(), Opie::Net::OWirelessNetworkInterface::signalStrength(), QString::sprintf(), Opie::Net::OWirelessNetworkInterface::SSID(), status, and WirelessControl::statusLabel.

Referenced by timerEvent().


Member Data Documentation

Opie::Net::OWirelessNetworkInterface* WirelessApplet::interface [private]
 

Definition at line 91 of file wireless.h.

Referenced by checkInterface(), mustRepaint(), numberOfRings(), renewDHCP(), timerEvent(), and updatePopupWindow().

QString WirelessApplet::oldAP [private]
 

Definition at line 101 of file wireless.h.

Referenced by mustRepaint().

QString WirelessApplet::oldESSID [private]
 

Definition at line 100 of file wireless.h.

Referenced by mustRepaint().

double WirelessApplet::oldFREQ [private]
 

Definition at line 103 of file wireless.h.

Referenced by mustRepaint().

Opie::Net::OWirelessNetworkInterface* WirelessApplet::oldiface [private]
 

Definition at line 95 of file wireless.h.

Referenced by mustRepaint().

QString WirelessApplet::oldMODE [private]
 

Definition at line 102 of file wireless.h.

Referenced by mustRepaint().

int WirelessApplet::oldnoiseH [private]
 

Definition at line 98 of file wireless.h.

Referenced by mustRepaint().

int WirelessApplet::oldqualityH [private]
 

Definition at line 96 of file wireless.h.

Referenced by mustRepaint().

int WirelessApplet::oldrings [private]
 

Definition at line 94 of file wireless.h.

Referenced by mustRepaint().

int WirelessApplet::oldsignalH [private]
 

Definition at line 97 of file wireless.h.

Referenced by mustRepaint().

bool WirelessApplet::rocAP [private]
 

Definition at line 107 of file wireless.h.

Referenced by mustRepaint(), and updateDHCPConfig().

bool WirelessApplet::rocESSID [private]
 

Definition at line 105 of file wireless.h.

Referenced by mustRepaint(), and updateDHCPConfig().

bool WirelessApplet::rocFREQ [private]
 

Definition at line 106 of file wireless.h.

Referenced by mustRepaint(), and updateDHCPConfig().

bool WirelessApplet::rocMODE [private]
 

Definition at line 108 of file wireless.h.

Referenced by mustRepaint(), and updateDHCPConfig().

QPixmap WirelessApplet::snapshotPixmap [private]
 

Definition at line 87 of file wireless.h.

WirelessControl* WirelessApplet::status
 

Definition at line 68 of file wireless.h.

Referenced by mousePressEvent(), timerEvent(), updatePopupWindow(), and WirelessApplet().

int WirelessApplet::timer [private]
 

Definition at line 89 of file wireless.h.

Referenced by updateDelayChange().

int WirelessApplet::visualStyle [private]
 

Definition at line 88 of file wireless.h.

Referenced by displayStyleChange().


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