summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-07-21 02:49:56 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-07-21 05:30:24 (GMT)
commite220d1365195e651e229f539a01ff2cc6992f261 (patch)
treeafb20eb58973db3d27bf50a131d43ae15205b619
parent2cafd5626289defebff936ff3689a2beba87b7b4 (diff)
QList<QDateTime> -> QVector<QDateTime>
-rw-r--r--src/bindings/python/sip/GeoDataTrack.sip2
-rw-r--r--src/lib/marble/geodata/data/GeoDataTrack.cpp4
-rw-r--r--src/lib/marble/geodata/data/GeoDataTrack.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/python/sip/GeoDataTrack.sip b/src/bindings/python/sip/GeoDataTrack.sip
index 26c4436..4d5848e 100644
--- a/src/bindings/python/sip/GeoDataTrack.sip
+++ b/src/bindings/python/sip/GeoDataTrack.sip
@@ -34,7 +34,7 @@ public:
QDateTime firstWhen () const;
QDateTime lastWhen () const;
QList<Marble::GeoDataCoordinates> coordinatesList () const;
- QList<QDateTime> whenList () const;
+ QVector<QDateTime> whenList () const;
Marble::GeoDataCoordinates coordinatesAt (const QDateTime& when) const;
Marble::GeoDataCoordinates coordinatesAt (int index) const;
void addPoint (const QDateTime& when, const Marble::GeoDataCoordinates& coord);
diff --git a/src/lib/marble/geodata/data/GeoDataTrack.cpp b/src/lib/marble/geodata/data/GeoDataTrack.cpp
index d336606..2bf61fa 100644
--- a/src/lib/marble/geodata/data/GeoDataTrack.cpp
+++ b/src/lib/marble/geodata/data/GeoDataTrack.cpp
@@ -51,7 +51,7 @@ public:
GeoDataLineString m_lineString;
bool m_lineStringNeedsUpdate;
- QList<QDateTime> m_when;
+ QVector<QDateTime> m_when;
QVector<GeoDataCoordinates> m_coordinates;
GeoDataExtendedData m_extendedData;
@@ -133,7 +133,7 @@ QVector<GeoDataCoordinates> GeoDataTrack::coordinatesList() const
return p()->m_coordinates;
}
-QList<QDateTime> GeoDataTrack::whenList() const
+QVector<QDateTime> GeoDataTrack::whenList() const
{
return p()->m_when;
}
diff --git a/src/lib/marble/geodata/data/GeoDataTrack.h b/src/lib/marble/geodata/data/GeoDataTrack.h
index 2df32d7..d58f1b4 100644
--- a/src/lib/marble/geodata/data/GeoDataTrack.h
+++ b/src/lib/marble/geodata/data/GeoDataTrack.h
@@ -109,7 +109,7 @@ public:
* Returns the time value of all the points in the map, in chronological
* order.
*/
- QList<QDateTime> whenList() const;
+ QVector<QDateTime> whenList() const;
/**
* If interpolate() is true, return the coordinates interpolated from the