diff options
Diffstat (limited to '')
-rw-r--r-- | qmlplugin/weightDataLoader.h | 2 |
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; }; |