summaryrefslogtreecommitdiff
path: root/qmlplugin/weightDataLoader.h
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-07-02 14:56:41 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-07-12 17:13:41 +0100
commit3090f0f1def6140c793a415760da5cdb410ca205 (patch)
tree72067dbc2f8a0de68428e82c2fdb939cb4dcc4ba /qmlplugin/weightDataLoader.h
parent2b4578a2bd73a0f46f027d568533cd51909a8a54 (diff)
Add a method for getting data over multiple days
Diffstat (limited to '')
-rw-r--r--qmlplugin/weightDataLoader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmlplugin/weightDataLoader.h b/qmlplugin/weightDataLoader.h
index 606f066..a9b9b68 100644
--- a/qmlplugin/weightDataLoader.h
+++ b/qmlplugin/weightDataLoader.h
@@ -26,6 +26,8 @@ public:
Q_INVOKABLE QVariant getTodayData();
Q_INVOKABLE void triggerDaemonRecording();
Q_INVOKABLE void addDataPoint(qreal value);
+ Q_INVOKABLE QVariant getDataFromTo(QDate date1, QDate date2);
+ QList<QPointF> getRawDataForDate(QDate date);
private:
QDBusInterface *m_iface;
};