diff options
Diffstat (limited to 'qmlplugin/stepsDataLoader.h')
-rw-r--r-- | qmlplugin/stepsDataLoader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qmlplugin/stepsDataLoader.h b/qmlplugin/stepsDataLoader.h index 4937ee9..869b434 100644 --- a/qmlplugin/stepsDataLoader.h +++ b/qmlplugin/stepsDataLoader.h @@ -12,6 +12,7 @@ #define STEPSDATALOADER_H #include <QObject> +#include <QDBusInterface> class StepsDataLoader : public QObject { @@ -21,6 +22,9 @@ public: explicit StepsDataLoader(); Q_INVOKABLE int getDataForDate(QDate date); Q_INVOKABLE int getTodayData(); + Q_INVOKABLE void triggerDaemonRecording(); +private: + QDBusInterface *m_iface; }; QString fileNameForDate(QDate date, QString prefix); |