diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-01-15 17:56:49 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-01-24 12:47:56 +0000 |
commit | 0aa7ae19eafebd0b146f9d97e04bd171c213dd76 (patch) | |
tree | 293b20119f492e834efa6923a6cb7185118c66ad /src/location/declarativemaps/qdeclarativegeoroute_p.h | |
parent | 5a6b1a0cff406a37faca940ae3b0e774c6d1c4d6 (diff) | |
download | qtlocation-0aa7ae19eafebd0b146f9d97e04bd171c213dd76.tar.gz |
Add QDeclarativeGeoRoute::route getter
To allow private classes to access the embedded QGeoRoute without the
need to be friend.
Change-Id: I7184e1a9fd038af3b82d71671667cd5b2e3449a7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeoroute_p.h')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroute_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroute_p.h b/src/location/declarativemaps/qdeclarativegeoroute_p.h index 738d2089..2be3d3f1 100644 --- a/src/location/declarativemaps/qdeclarativegeoroute_p.h +++ b/src/location/declarativemaps/qdeclarativegeoroute_p.h @@ -85,6 +85,7 @@ public: void clearSegments(); int segmentsCount() const; + const QGeoRoute &route() const; Q_SIGNALS: void pathChanged(); |