blob: b6b263318452dc3c5a114f998924e20846dabe9b (
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
|
#ifndef KASCLOCKITEM_H
#define KASCLOCKITEM_H
#include "kasitem.h"
/**
* An item that displays a clock.
*/
class KDE_EXPORT KasClockItem : public KasItem
{
TQ_OBJECT
public:
KasClockItem( KasBar *parent );
virtual ~KasClockItem();
void paint( TQPainter *p );
public slots:
void updateTime();
void showMenuAt( TQMouseEvent *ev );
void showMenuAt( TQPoint p );
protected:
/** Reimplemented from KasItem to create a date picker. */
virtual KasPopup *createPopup();
private:
class LCD *lcd;
};
#endif // KASCLOCKITEM_H
|