diff options
Diffstat (limited to 'include/aoclocklabel.h')
| -rw-r--r-- | include/aoclocklabel.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/aoclocklabel.h b/include/aoclocklabel.h deleted file mode 100644 index 830fb527..00000000 --- a/include/aoclocklabel.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef AOCLOCKLABEL_H -#define AOCLOCKLABEL_H - -#include <QLabel> -#include <QBasicTimer> -#include <QTimerEvent> -#include <QDateTime> -#include <QDebug> - -class AOClockLabel : public QLabel { - Q_OBJECT - -public: - AOClockLabel(QWidget *parent); - void start(); - void start(qint64 msecs); - void set(qint64 msecs, bool update_text = false); - void pause(); - void stop(); - void skip(qint64 msecs); - bool active(); - -protected: - void timerEvent(QTimerEvent *event) override; - -private: - QBasicTimer timer; - QDateTime target_time; -}; - -#endif // AOCLOCKLABEL_H |
