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.
tdebase/kicker/extensions/kasbar/kasclockitem.h

35 lines
567 B

#ifndef KASCLOCKITEM_H
#define KASCLOCKITEM_H
#include "kasitem.h"
/**
* An item that displays a clock.
*/
class TDE_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