Support for color schemes
[staging/HomeScreen.git] / SampleAppTimeDate / src / timedateprovider.hpp
1 #ifndef TIMEDATEPROVIDER_HPP
2 #define TIMEDATEPROVIDER_HPP
3
4 #include <QObject>
5 #include "statusbar_proxy.h"
6
7 class TimeDateProvider : public QObject
8 {
9     Q_OBJECT
10 public:
11     explicit TimeDateProvider(QObject *parent = 0);
12     ~TimeDateProvider();
13     void start();
14     void stop();
15 protected:
16     void timerEvent(QTimerEvent *e);
17 private:
18     int m_secondsTimerId;
19     org::agl::statusbar *mp_dBusStatusBarProxy;
20     int m_statusBarPlaceholder;
21 signals:
22
23 public slots:
24
25 };
26
27 #endif // TIMEDATEPROVIDER_HPP