diff options
Diffstat (limited to 'qmlplugin/stepsDataLoader.h')
-rw-r--r-- | qmlplugin/stepsDataLoader.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qmlplugin/stepsDataLoader.h b/qmlplugin/stepsDataLoader.h index 869b434..fa551a3 100644 --- a/qmlplugin/stepsDataLoader.h +++ b/qmlplugin/stepsDataLoader.h @@ -13,6 +13,7 @@ #include <QObject> #include <QDBusInterface> +#include <QPointF> class StepsDataLoader : public QObject { @@ -20,8 +21,10 @@ class StepsDataLoader : public QObject public: explicit StepsDataLoader(); - Q_INVOKABLE int getDataForDate(QDate date); - Q_INVOKABLE int getTodayData(); + Q_INVOKABLE int getTotalForDate(QDate date); + Q_INVOKABLE int getTodayTotal(); + Q_INVOKABLE QList<QPointF> getDataForDate(QDate date); + Q_INVOKABLE QList<QPointF> getTodayData(); Q_INVOKABLE void triggerDaemonRecording(); private: QDBusInterface *m_iface; |