From 0592a405aa68f3baf6773795efa5522e4ee16779 Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Wed, 18 Jan 2017 15:25:38 +0100 Subject: Initial source commit Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens --- sampleapptimedate/src/timedateprovider.hpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sampleapptimedate/src/timedateprovider.hpp (limited to 'sampleapptimedate/src/timedateprovider.hpp') diff --git a/sampleapptimedate/src/timedateprovider.hpp b/sampleapptimedate/src/timedateprovider.hpp new file mode 100644 index 0000000..5ff663f --- /dev/null +++ b/sampleapptimedate/src/timedateprovider.hpp @@ -0,0 +1,27 @@ +#ifndef TIMEDATEPROVIDER_HPP +#define TIMEDATEPROVIDER_HPP + +#include +#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_HPP -- cgit 1.2.3-korg