1 /*
2     SPDX-FileCopyrightText: 2008-2009 Stefan Majewsky <majewsky@gmx.net>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef KDIAMOND_INFOBAR_H
8 #define KDIAMOND_INFOBAR_H
9 
10 #include <QObject>
11 class QStatusBar;
12 class QLabel;
13 namespace KDiamond
14 {
15 
16 class InfoBar : public QObject
17 {
18     Q_OBJECT
19 public:
20     explicit InfoBar(QStatusBar *bar);
21 public Q_SLOTS:
22     void setUntimed(bool untimed);
23     void updatePoints(int points);
24     void updateMoves(int moves);
25     void updateRemainingTime(int remainingSeconds);
26 private:
27     bool m_untimed;
28     QStatusBar *m_bar;
29     QLabel *mMovement;
30     QLabel *mPoints;
31     QLabel *mTime;
32 
33 };
34 
35 }
36 
37 #endif // KDIAMOND_INFOBAR_H
38