blob: a020608b0db2be417f8515d62505d82ee225b50c (
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
{
Q_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
|