diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-08-26 09:35:01 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-17 11:38:14 +0200 |
commit | 0ed9f7496656fa0ea52d703c7fddff26c2192857 (patch) | |
tree | ec0d4d7dc638e8018a8896a0b62cc91840c9c23d /tests/auto/positionplugin | |
parent | 87ce030b7b7336e561779dc9516d5ae2242a5d5f (diff) | |
download | qtlocation-0ed9f7496656fa0ea52d703c7fddff26c2192857.tar.gz |
Improve area monitoring API.
1.) QGeoAreaMonitor renamed to QGeoAreaMonitorSource
2.) Add new QGeoAreaMonitorInfo data type encpsulating individual areas to be monitored
3.) Port positionpoll plug-in to new features
4.) Make positionpoll monitor thread safe
4.) Extend and fix the QGeoAreaMonitor unit test
5.) Fix documentation.
Task-number: QTBUG-31711
Change-Id: Icfc982de4753d2f43cb4d15c234eb7b7c039a0c4
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/positionplugin')
-rw-r--r-- | tests/auto/positionplugin/plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/positionplugin/plugin.cpp b/tests/auto/positionplugin/plugin.cpp index 26f8ed34..bfc4880b 100644 --- a/tests/auto/positionplugin/plugin.cpp +++ b/tests/auto/positionplugin/plugin.cpp @@ -190,7 +190,7 @@ class QGeoPositionInfoSourceFactoryTest : public QObject, public QGeoPositionInf public: QGeoPositionInfoSource *positionInfoSource(QObject *parent); QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent); - QGeoAreaMonitor *areaMonitor(QObject *parent); + QGeoAreaMonitorSource *areaMonitor(QObject *parent); }; QGeoPositionInfoSource *QGeoPositionInfoSourceFactoryTest::positionInfoSource(QObject *parent) @@ -205,7 +205,7 @@ QGeoSatelliteInfoSource *QGeoPositionInfoSourceFactoryTest::satelliteInfoSource( return 0; } -QGeoAreaMonitor *QGeoPositionInfoSourceFactoryTest::areaMonitor(QObject* parent) +QGeoAreaMonitorSource *QGeoPositionInfoSourceFactoryTest::areaMonitor(QObject* parent) { Q_UNUSED(parent) return 0; |