summaryrefslogtreecommitdiff
path: root/qmlplugin/weightDataLoader.h
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-07-02 13:28:57 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-07-02 13:28:57 +0100
commit2b4578a2bd73a0f46f027d568533cd51909a8a54 (patch)
treef0258c1f84499141d6bddfdbfc74d539e8344948 /qmlplugin/weightDataLoader.h
parentac674c969d2e6dec677f64571f73a15216630171 (diff)
Add a method for adding data points to weight
Diffstat (limited to '')
-rw-r--r--qmlplugin/weightDataLoader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmlplugin/weightDataLoader.h b/qmlplugin/weightDataLoader.h
index 63067f4..606f066 100644
--- a/qmlplugin/weightDataLoader.h
+++ b/qmlplugin/weightDataLoader.h
@@ -25,6 +25,7 @@ public:
Q_INVOKABLE QVariant getDataForDate(QDate date);
Q_INVOKABLE QVariant getTodayData();
Q_INVOKABLE void triggerDaemonRecording();
+ Q_INVOKABLE void addDataPoint(qreal value);
private:
QDBusInterface *m_iface;
};