summaryrefslogtreecommitdiff
path: root/src/ui/fqterm_time_label.h
blob: 6865ada6791520adc07b71bbaa5e838353447433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef FQTERM_TIME_LABEL_H
#define FQTERM_TIME_LABEL_H

#include <QTimerEvent>
#include <QLabel>

class QTime;

namespace FQTerm {

class FQTermTimeLabel: public QLabel {
  Q_OBJECT;
 public:
  FQTermTimeLabel(QWidget *parent, const char *name = 0, Qt::WindowFlags f = 0);
  ~FQTermTimeLabel();

 protected:
  QTime *currentTime_;
  void timerEvent(QTimerEvent*);
};

}  // namespace FQTerm

#endif  // FQTERM_TIME_LABEL_H