summaryrefslogtreecommitdiff
path: root/qmlplugin/stepsDataLoader.h
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-05-26 01:35:39 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-05-26 23:34:53 +0100
commitdf9b49d6123b83f0ce8239693bc1064de1a4e828 (patch)
tree4aab68851f326df632600f4489ec39ef458d266d /qmlplugin/stepsDataLoader.h
parentf279ddedcac3e9b77ab742c57a37bbdcbabe7a82 (diff)
steps: add more useful data fetch method
Diffstat (limited to 'qmlplugin/stepsDataLoader.h')
-rw-r--r--qmlplugin/stepsDataLoader.h1
1 files changed, 1 insertions, 0 deletions
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);