blob: 527a85abcd2f6ed23d6a796c437e6db68a94cf72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// -*- c++ -*-
#ifndef KASLOADITEM_H
#define KASLOADITEM_H
#include "kasitem.h"
#include <kdemacros.h>
/**
* An item that displays the system load.
*/
class KDE_EXPORT KasLoadItem : public KasItem
{
Q_OBJECT
public:
KasLoadItem( KasBar *parent );
virtual ~KasLoadItem();
void paint( QPainter *p );
public slots:
void updateDisplay();
void showMenuAt( QMouseEvent *ev );
void showMenuAt( QPoint p );
private:
QValueList<double> valuesOne;
QValueList<double> valuesFive;
QValueList<double> valuesFifteen;
};
#endif // KASLOADITEM_H
|