diff options
Diffstat (limited to 'SampleAppTimeDate/src/timedateprovider.h')
-rw-r--r-- | SampleAppTimeDate/src/timedateprovider.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/SampleAppTimeDate/src/timedateprovider.h b/SampleAppTimeDate/src/timedateprovider.h new file mode 100644 index 0000000..039104a --- /dev/null +++ b/SampleAppTimeDate/src/timedateprovider.h @@ -0,0 +1,27 @@ +#ifndef TIMEDATEPROVIDER_H +#define TIMEDATEPROVIDER_H + +#include <QObject> +#include "statusbar_proxy.h" + +class TimeDateProvider : public QObject +{ + Q_OBJECT +public: + explicit TimeDateProvider(QObject *parent = 0); + ~TimeDateProvider(); + void start(); + void stop(); +protected: + void timerEvent(QTimerEvent *e); +private: + int m_secondsTimerId; + org::agl::statusbar *mp_dBusStatusBarProxy; + int m_statusBarPlaceholder; +signals: + +public slots: + +}; + +#endif // TIMEDATEPROVIDER_H |