summaryrefslogtreecommitdiffstats
path: root/app/qcheapruler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/qcheapruler.hpp')
-rw-r--r--app/qcheapruler.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/qcheapruler.hpp b/app/qcheapruler.hpp
index 9e9c664..8d3d7bb 100644
--- a/app/qcheapruler.hpp
+++ b/app/qcheapruler.hpp
@@ -31,11 +31,11 @@ public:
QGeoCoordinate currentPosition() const;
QJSValue path() const;
void setPath(const QJSValue &value);
+ void setCurrentPosition(double, double);
//functions that can called by qml(Q_INVOKABLE)
- Q_INVOKABLE void initRouteInfo();
- Q_INVOKABLE void setCurrentPosition(double, double);
- Q_INVOKABLE void setCurrentDistance(double);
+ Q_INVOKABLE void setCurrentCoordinate(QString,QString);
+ Q_INVOKABLE void setCurrentDistance(QString);
signals:
//notify signals to qml