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

Load Class Reference

#include </home/clem/local/src/opie/noncore/applets/memoryapplet/load.h>

List of all members.

Public Member Functions

 Load (QWidget *parent=0, const char *name=0, WFlags f=0)
 Load (QWidget *parent=0, const char *name=0, WFlags f=0)

Protected Member Functions

void paintEvent (QPaintEvent *ev)
void paintEvent (QPaintEvent *ev)

Private Slots

void timeout ()
void timeout ()

Private Attributes

int points
double * userLoad
double * systemLoad
double maxLoad
timeval last
int lastUser
int lastUsernice
int lastSys
int lastIdle
bool first
double * userLoad
double * systemLoad
timeval last


Constructor & Destructor Documentation

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

Definition at line 109 of file load.cpp.

References first, i, last, maxLoad, points, systemLoad, timeout(), TRUE, and userLoad.

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


Member Function Documentation

void Load::paintEvent QPaintEvent *  ev  )  [protected]
 

void Load::paintEvent QPaintEvent *  ev  )  [protected]
 

Definition at line 131 of file load.cpp.

References height, i, maxLoad, mult(), p, points, systemLoad, userLoad, and width.

void Load::timeout  )  [private, slot]
 

void Load::timeout  )  [private, slot]
 

Definition at line 161 of file load.cpp.

References FALSE, first, i, last, lastSys, lastUser, maxLoad, points, systemLoad, TRUE, and userLoad.

Referenced by Load().


Member Data Documentation

bool Load::first [private]
 

Definition at line 48 of file load.h.

Referenced by Load(), and timeout().

struct timeval Load::last [private]
 

Definition at line 43 of file load.h.

struct timeval Load::last [private]
 

Definition at line 43 of file load.h.

Referenced by Load(), and timeout().

int Load::lastIdle [private]
 

Definition at line 47 of file load.h.

int Load::lastSys [private]
 

Definition at line 46 of file load.h.

Referenced by timeout().

int Load::lastUser [private]
 

Definition at line 44 of file load.h.

Referenced by timeout().

int Load::lastUsernice [private]
 

Definition at line 45 of file load.h.

double Load::maxLoad [private]
 

Definition at line 42 of file load.h.

Referenced by Load(), paintEvent(), and timeout().

int Load::points [private]
 

Definition at line 39 of file load.h.

Referenced by Load(), paintEvent(), and timeout().

double* Load::systemLoad [private]
 

Definition at line 41 of file load.h.

double* Load::systemLoad [private]
 

Definition at line 41 of file load.h.

Referenced by Load(), paintEvent(), and timeout().

double* Load::userLoad [private]
 

Definition at line 40 of file load.h.

double* Load::userLoad [private]
 

Definition at line 40 of file load.h.

Referenced by Load(), paintEvent(), and timeout().


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