summaryrefslogtreecommitdiff
path: root/qmlplugin/stepsDataLoader.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--qmlplugin/stepsDataLoader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmlplugin/stepsDataLoader.h b/qmlplugin/stepsDataLoader.h
index 312a9f5..a248f32 100644
--- a/qmlplugin/stepsDataLoader.h
+++ b/qmlplugin/stepsDataLoader.h
@@ -14,6 +14,7 @@
#include <QObject>
#include <QDBusInterface>
#include <QPointF>
+#include <QFileSystemWatcher>
#include <QtSensors/QStepCounterSensor>
@@ -33,8 +34,10 @@ public:
QList<QPointF> getRawDataForDate(QDate date);
signals:
void todayTotalChanged();
+ void dataChanged();
private:
QDBusInterface *m_iface;
+ QFileSystemWatcher *m_fileWatcher;
QStepCounterSensor *m_stepcounterSensor;
};