summaryrefslogtreecommitdiffstats
path: root/sampleapptimedate/src/timedateprovider.hpp
diff options
context:
space:
mode:
authorBocklage, Jens <Jens_Bocklage@mentor.com>2017-01-18 15:25:38 +0100
committerBocklage, Jens <Jens_Bocklage@mentor.com>2017-01-18 15:25:38 +0100
commit0592a405aa68f3baf6773795efa5522e4ee16779 (patch)
treea154927827fee732c65947f4eae171658f63fb77 /sampleapptimedate/src/timedateprovider.hpp
parent6fcde5166305cd40b5816c4495290984ca925ab6 (diff)
Initial source commit
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'sampleapptimedate/src/timedateprovider.hpp')
-rw-r--r--sampleapptimedate/src/timedateprovider.hpp27
1 files changed, 27 insertions, 0 deletions
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 <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_HPP