summaryrefslogtreecommitdiffstats
path: root/app/qcheapruler.hpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-05-31 12:44:40 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-05-31 12:44:40 +0900
commit27c26952a5d1905f11ea4d8fe3d303fee82efd56 (patch)
tree730dedc9a0f8ddedb1bbb2c3644c0c48a00039d6 /app/qcheapruler.hpp
parentccfef630efc19a235d4451582fb98a3cae35558c (diff)
change dbus to websocket
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