A small but handy stopwatch application.
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.

40 lines
711 B

#include <tqdatetime.h>
#include <tqwidget.h>
class KTimeWidget;
class TQPushButton;
class TQListBox;
class TQListBoxItem;
class TQTimer;
class TDEStopWatch : public TQWidget {
public slots:
void slotStartStop();
void slotReset();
void slotSetTime(const TQTime& t);
void slotSetFromStep(TQListBoxItem* item);
void slotStep();
private slots:
void slotTimeout();
KTimeWidget* time;
TQPushButton* start;
TQPushButton* pause;
TQPushButton* reset;
TQPushButton* step;
TQListBox* stepl;
TQTimer* pulse;
TQTime timer;
#endif // __TDESTOPWATCH_H