Logo Search packages:      
Sourcecode: kcpuload version File versions  Download package

KCPULoad Class Reference

#include <kcpuload.h>

Inheritance diagram for KCPULoad:

StatPopup

List of all members.


Detailed Description

The specific pop-up window used by KCPULoad.

Definition at line 25 of file kcpuload.h.


Public Slots

void clearHistory ()
void selectColor0 ()
void selectColor1 ()
void selectSpeed ()
void setActive (bool)
void setFillBars ()
void setFillLines ()
void setFillShaded ()
void setGrid (bool)
void setLabelled (bool)
void setSMP (bool)
void setSoft (bool)
void setSplit (bool)

Public Member Functions

virtual void cleanUpDock (int whichDock)
int getSpeed () const
virtual void initDock (StatDock *target, KPopupMenu *menu, int whichDock)
bool isActive () const
bool isSplit () const
 KCPULoad (QWidget *parent=0, const char *name=0)
void readPopupState ()
void savePopupState ()

Static Public Attributes

static const QColor colorBorder

Protected Slots

void takeReading ()

Protected Member Functions

void closeEvent (QCloseEvent *)
virtual QColor defaultDockColor (int which) const
virtual QString dockName (int which) const
StatDockfirstDock ()
void hideEvent (QHideEvent *)
virtual void insertCustomItems (KPopupMenu *menu)
void mouseMoveEvent (QMouseEvent *)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void paintEvent (QPaintEvent *)
void requestResize ()
virtual void setCustomProperties (StatDock *)
virtual void setupActions ()
virtual void setupCustomActions ()
void showEvent (QShowEvent *)
void startUpdates ()
void stopUpdates ()
virtual void takeReadingInternal ()

Protected Attributes

KActionCollection * coll
KConfig * config
StatDockdock [2]
QString fullReading
int lower [2]
int upper [2]

Private Attributes

KToggleAction * actSMP
KCPUProcproc
bool supportSMP

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index