summaryrefslogtreecommitdiff
path: root/qmlplugin/stepsDataLoader.h
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-06-11 13:02:56 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-06-20 00:05:28 +0100
commit17af88e65e6cb0febcd2340771f52d128eae4fac (patch)
tree86adb1658412f788ee3b54260102688e52ab6059 /qmlplugin/stepsDataLoader.h
parentf6c090502058c63f7a51b7ba97672022657119d8 (diff)
DataLoaders: switch to qvariant for qml compatibility
Diffstat (limited to '')
-rw-r--r--qmlplugin/stepsDataLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmlplugin/stepsDataLoader.h b/qmlplugin/stepsDataLoader.h
index f29dcb2..48a3861 100644
--- a/qmlplugin/stepsDataLoader.h
+++ b/qmlplugin/stepsDataLoader.h
@@ -26,8 +26,8 @@ public:
explicit StepsDataLoader();
Q_INVOKABLE int getTotalForDate(QDate date);
Q_INVOKABLE int getTodayTotal();
- Q_INVOKABLE QList<QPointF> getDataForDate(QDate date);
- Q_INVOKABLE QList<QPointF> getTodayData();
+ Q_INVOKABLE QVariant getDataForDate(QDate date);
+ Q_INVOKABLE QVariant getTodayData();
Q_INVOKABLE void triggerDaemonRecording();
signals: