You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef KASLOADITEM_H
|
|
|
|
#define KASLOADITEM_H
|
|
|
|
|
|
|
|
#include "kasitem.h"
|
|
|
|
|
|
|
|
#include <kdemacros.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An item that displays the system load.
|
|
|
|
*/
|
|
|
|
class TDE_EXPORT KasLoadItem : public KasItem
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
KasLoadItem( KasBar *parent );
|
|
|
|
virtual ~KasLoadItem();
|
|
|
|
|
|
|
|
void paint( TQPainter *p );
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void updateDisplay();
|
|
|
|
void showMenuAt( TQMouseEvent *ev );
|
|
|
|
void showMenuAt( TQPoint p );
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQValueList<double> valuesOne;
|
|
|
|
TQValueList<double> valuesFive;
|
|
|
|
TQValueList<double> valuesFifteen;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KASLOADITEM_H
|
|
|
|
|