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
566 B

#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