00001
00002
00003
00004 #ifndef KASCLOCKITEM_H
00005 #define KASCLOCKITEM_H
00006
00007 #include "kasitem.h"
00008
00012 class KDE_EXPORT KasClockItem : public KasItem
00013 {
00014 Q_OBJECT
00015
00016 public:
00017 KasClockItem( KasBar *parent );
00018 virtual ~KasClockItem();
00019
00020 void paint( TQPainter *p );
00021
00022 public slots:
00023 void updateTime();
00024
00025 void showMenuAt( TQMouseEvent *ev );
00026 void showMenuAt( TQPoint p );
00027
00028 protected:
00030 virtual KasPopup *createPopup();
00031
00032 private:
00033 class LCD *lcd;
00034 };
00035
00036 #endif // KASCLOCKITEM_H
00037