From df9b49d6123b83f0ce8239693bc1064de1a4e828 Mon Sep 17 00:00:00 2001 From: Arseniy-Movshev Date: Fri, 26 May 2023 01:35:39 +0100 Subject: steps: add more useful data fetch method --- qmlplugin/stepsDataLoader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qmlplugin/stepsDataLoader.h') diff --git a/qmlplugin/stepsDataLoader.h b/qmlplugin/stepsDataLoader.h index 7be8bfc..4937ee9 100644 --- a/qmlplugin/stepsDataLoader.h +++ b/qmlplugin/stepsDataLoader.h @@ -19,6 +19,7 @@ class StepsDataLoader : public QObject public: explicit StepsDataLoader(); + Q_INVOKABLE int getDataForDate(QDate date); Q_INVOKABLE int getTodayData(); }; QString fileNameForDate(QDate date, QString prefix); -- cgit v1.2.3-54-g00ecf