summaryrefslogtreecommitdiff
path: root/qmlplugin/hrDataLoader.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/hrDataLoader.h
parentf6c090502058c63f7a51b7ba97672022657119d8 (diff)
DataLoaders: switch to qvariant for qml compatibility
Diffstat (limited to 'qmlplugin/hrDataLoader.h')
-rw-r--r--qmlplugin/hrDataLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmlplugin/hrDataLoader.h b/qmlplugin/hrDataLoader.h
index 0c6ffba..98ba400 100644
--- a/qmlplugin/hrDataLoader.h
+++ b/qmlplugin/hrDataLoader.h
@@ -22,8 +22,8 @@ class HrDataLoader : public QObject
public:
explicit HrDataLoader();
- 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();
private:
QDBusInterface *m_iface;