Home
last modified time | relevance | path

Searched refs:QGeoShape (Results 1 – 25 of 119) sorted by relevance

12345

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeoshape.cpp58 QGeoShapePrivate::QGeoShapePrivate(QGeoShape::ShapeType type) in QGeoShapePrivate()
139 inline QGeoShapePrivate *QGeoShape::d_func() in d_func()
144 inline const QGeoShapePrivate *QGeoShape::d_func() const in d_func()
152 QGeoShape::QGeoShape() in QGeoShape() function in QGeoShape
159 QGeoShape::QGeoShape(const QGeoShape &other) in QGeoShape() function in QGeoShape
167 QGeoShape::QGeoShape(QGeoShapePrivate *d) in QGeoShape() function in QGeoShape
175 QGeoShape::~QGeoShape() in ~QGeoShape()
182 QGeoShape::ShapeType QGeoShape::type() const in type()
184 Q_D(const QGeoShape); in type()
196 bool QGeoShape::isValid() const in isValid()
[all …]
H A Dqgeoshape.h52 class Q_POSITIONING_EXPORT QGeoShape
61 QGeoShape();
62 QGeoShape(const QGeoShape &other);
63 ~QGeoShape();
83 bool operator==(const QGeoShape &other) const;
84 bool operator!=(const QGeoShape &other) const;
86 QGeoShape &operator=(const QGeoShape &other);
90 QGeoShape(QGeoShapePrivate *d);
99 Q_DECLARE_TYPEINFO(QGeoShape, Q_MOVABLE_TYPE);
102 Q_POSITIONING_EXPORT QDebug operator<<(QDebug, const QGeoShape &);
[all …]
H A Dqgeocircle.cpp115 QMetaType::registerConverter<QGeoShape, QGeoCircle>(); in CircleVariantConversions()
116 QMetaType::registerConverter<QGeoCircle, QGeoShape>(); in CircleVariantConversions()
126 : QGeoShape(new QGeoCirclePrivate) in Q_GLOBAL_STATIC()
144 : QGeoShape(other) in QGeoCircle()
152 QGeoCircle::QGeoCircle(const QGeoShape &other) in QGeoCircle()
153 : QGeoShape(other) in QGeoCircle()
156 if (type() != QGeoShape::CircleType) in QGeoCircle()
170 QGeoShape::operator=(other); in operator =()
444 if (type() != QGeoShape::CircleType) { in toString()
459 : QGeoShapePrivate(QGeoShape::CircleType), m_radius(-1.0) in QGeoCirclePrivate()
[all …]
H A Dqgeopolygon.cpp105 QMetaType::registerConverter<QGeoShape, QGeoPolygon>(); in PolygonVariantConversions()
106 QMetaType::registerConverter<QGeoPolygon, QGeoShape>(); in PolygonVariantConversions()
116 : QGeoShape(new QGeoPolygonPrivate()) in Q_GLOBAL_STATIC()
126 : QGeoShape(new QGeoPolygonPrivate(path)) in QGeoPolygon()
135 : QGeoShape(other) in QGeoPolygon()
178 QGeoPolygon::QGeoPolygon(const QGeoShape &other) in QGeoPolygon()
179 : QGeoShape(other) in QGeoPolygon()
182 if (type() != QGeoShape::PolygonType) { in QGeoPolygon()
184 if (type() == QGeoShape::CircleType) { in QGeoPolygon()
189 } else if (type() == QGeoShape::RectangleType) { in QGeoPolygon()
[all …]
H A Dqgeopath.cpp106 QMetaType::registerConverter<QGeoShape, QGeoPath>(); in PathVariantConversions()
107 QMetaType::registerConverter<QGeoPath, QGeoShape>(); in PathVariantConversions()
117 : QGeoShape(new QGeoPathPrivate()) in Q_GLOBAL_STATIC()
127 : QGeoShape(new QGeoPathPrivate(path, width)) in QGeoPath()
136 : QGeoShape(other) in QGeoPath()
144 QGeoPath::QGeoPath(const QGeoShape &other) in QGeoPath()
145 : QGeoShape(other) in QGeoPath()
148 if (type() != QGeoShape::PathType) in QGeoPath()
162 QGeoShape::operator=(other); in operator =()
385 if (type() != QGeoShape::PathType) { in toString()
[all …]
H A Dqgeorectangle.h49 class Q_POSITIONING_EXPORT QGeoRectangle : public QGeoShape
66 QGeoRectangle(const QGeoShape &other);
72 using QGeoShape::operator==;
75 using QGeoShape::operator!=;
99 using QGeoShape::contains;
H A Dqgeocircle.h50 class Q_POSITIONING_EXPORT QGeoCircle : public QGeoShape
60 QGeoCircle(const QGeoShape &other);
66 using QGeoShape::operator==;
69 using QGeoShape::operator!=;
H A Dqgeopath.h51 class Q_POSITIONING_EXPORT QGeoPath : public QGeoShape
61 QGeoPath(const QGeoShape &other);
67 using QGeoShape::operator==;
70 using QGeoShape::operator!=;
H A Dqgeorectangle.cpp196 QMetaType::registerConverter<QGeoRectangle, QGeoShape>(); in RectangleVariantConversions()
197 QMetaType::registerConverter<QGeoShape, QGeoRectangle>(); in RectangleVariantConversions()
208 : QGeoShape(new QGeoRectanglePrivate) in Q_GLOBAL_STATIC()
263 : QGeoShape(other) in QGeoRectangle()
271 QGeoRectangle::QGeoRectangle(const QGeoShape &other) in QGeoRectangle()
272 : QGeoShape(other) in QGeoRectangle()
275 if (type() != QGeoShape::RectangleType) in QGeoRectangle()
291 QGeoShape::operator=(other); in operator =()
996 if (type() != QGeoShape::RectangleType) { in toString()
1012 : QGeoShapePrivate(QGeoShape::RectangleType) in QGeoRectanglePrivate()
[all …]
H A Dqgeopolygon.h51 class Q_POSITIONING_EXPORT QGeoPolygon : public QGeoShape
60 QGeoPolygon(const QGeoShape &other);
66 using QGeoShape::operator==;
69 using QGeoShape::operator!=;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoshape/
H A Dtst_qgeoshape.cpp62 QGeoShape area; in testArea()
65 QCOMPARE(area.type(), QGeoShape::UnknownType); in testArea()
70 QGeoShape area2; in testArea()
78 QGeoShape area3(area2); in testArea()
85 QTest::addColumn<QGeoShape>("shape"); in debug_data()
89 QTest::newRow("uninitialized") << QGeoShape() << 45 in debug_data()
91 QTest::newRow("uninitialized") << QGeoShape(QGeoRectangle()) << 45 in debug_data()
93 QTest::newRow("uninitialized") << QGeoShape(QGeoCircle()) << 45 in debug_data()
100 QFETCH(QGeoShape, shape); in debug()
112 QVariant varShape = QVariant::fromValue(QGeoShape()); in conversions()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeocodingmanager.h64 const QGeoShape &bounds = QGeoShape());
68 const QGeoShape &bounds = QGeoShape());
71 const QGeoShape &bounds = QGeoShape());
H A Dqgeocodingmanagerengine.h47 class QGeoShape; variable
60 virtual QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds);
64 const QGeoShape &bounds);
66 const QGeoShape &bounds);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocircle/
H A Dtst_qgeocircle.cpp108 QGeoShape area = c1; in assignment()
146 QGeoShape *c2Ptr = &c2; in comparison()
150 QGeoShape *c3Ptr = &c3; in comparison()
158 QCOMPARE(c.type(), QGeoShape::CircleType); in type()
176 QGeoShape shape = c; in center()
248 QGeoShape area = c; in valid()
276 QGeoShape area = c; in empty()
310 QGeoShape area = c; in contains()
397 QTest::addColumn<QGeoShape>("area"); in areaComparison_data()
405 QTest::newRow("default constructed") << QGeoShape() << QGeoCircle() << false; in areaComparison_data()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/places_semiauto/
H A Dtst_places.cpp78 void commonAreas(QList<QByteArray> *dataTags, QList<QGeoShape> *areas,
131 QFETCH(QGeoShape, area); in search()
156 QTest::addColumn<QGeoShape>("area"); in search_data()
165 QGeoShape area; in search_data()
240 QList<QGeoShape> areas; in search_data()
256 << static_cast<QGeoShape>(QGeoCircle(QGeoCoordinate(-27.5, 153))) in search_data()
264 << static_cast<QGeoShape>(QGeoCircle(QGeoCoordinate(-27.5, 153))) in search_data()
304 QFETCH(QGeoShape, searchArea); in recommendations()
325 QTest::addColumn<QGeoShape>("searchArea"); in recommendations_data()
335 << QGeoShape() in recommendations_data()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacesearchrequest/
H A Dtst_qplacesearchrequest.cpp98 QVERIFY2(query.searchArea() == QGeoShape(), "Wrong default value"); in boundingCircleTest()
104 QVERIFY(query.searchArea() != QGeoShape()); in boundingCircleTest()
105 QVERIFY(query.searchArea().type() == QGeoShape::CircleType); in boundingCircleTest()
112 QVERIFY2(query.searchArea() == QGeoShape(), "Search area not cleared"); in boundingCircleTest()
118 QVERIFY2(query.searchArea() == QGeoShape(), "Wrong default value"); in boundingBoxTest()
125 QVERIFY(query.searchArea() != QGeoShape()); in boundingBoxTest()
126 QVERIFY(query.searchArea().type() == QGeoShape::RectangleType); in boundingBoxTest()
134 QVERIFY2(query.searchArea() == QGeoShape(), "Wrong cleared value returned"); in boundingBoxTest()
261 QVERIFY(req.searchArea() == QGeoShape()); in clearTest()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/imports/positioning/
H A Dlocationsingleton.h77 Q_INVOKABLE QGeoShape shape() const;
96 Q_INVOKABLE QGeoCircle shapeToCircle(const QGeoShape &shape) const;
97 Q_INVOKABLE QGeoRectangle shapeToRectangle(const QGeoShape &shape) const;
98 Q_INVOKABLE QGeoPath shapeToPath(const QGeoShape &shape) const;
99 Q_INVOKABLE QGeoPolygon shapeToPolygon(const QGeoShape &shape) const;
H A Dlocationsingleton.cpp119 QGeoShape LocationSingleton::shape() const in shape()
121 return QGeoShape(); in shape()
319 QGeoCircle LocationSingleton::shapeToCircle(const QGeoShape &shape) const in shapeToCircle()
332 QGeoRectangle LocationSingleton::shapeToRectangle(const QGeoShape &shape) const in shapeToRectangle()
345 QGeoPath LocationSingleton::shapeToPath(const QGeoShape &shape) const in shapeToPath()
358 QGeoPolygon LocationSingleton::shapeToPolygon(const QGeoShape &shape) const in shapeToPolygon()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/
H A Dqdeclarativesearchmodelbase.cpp90 QGeoShape s = m_request.searchArea(); in searchArea()
91 if (s.type() == QGeoShape::RectangleType) in searchArea()
93 else if (s.type() == QGeoShape::CircleType) in searchArea()
95 else if (s.type() == QGeoShape::PolygonType) in searchArea()
106 QGeoShape s; in setSearchArea()
113 else if (searchArea.userType() == qMetaTypeId<QGeoShape>()) in setSearchArea()
114 s = searchArea.value<QGeoShape>(); in setSearchArea()
125 m_request.setSearchArea(QGeoShape()); in setSearchArea()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeocodingmanagerengine_nokia.cpp101 const QGeoShape &bounds) in geocode()
114 if (bounds.type() == QGeoShape::UnknownType) { in geocode()
116 } else if (bounds.type() == QGeoShape::CircleType) { in geocode()
188 const QGeoShape &bounds) in geocode()
219 if (bounds.type() == QGeoShape::RectangleType) { in geocode()
231 } else if (bounds.type() == QGeoShape::CircleType) { in geocode()
249 const QGeoShape &bounds, in geocode()
268 const QGeoShape &bounds) in reverseGeocode()
285 if (bounds.type() == QGeoShape::CircleType) { in reverseGeocode()
H A Dqgeocodingmanagerengine_nokia.h63 const QGeoShape &bounds);
65 const QGeoShape &bounds);
70 const QGeoShape &bounds);
78 …QGeoCodeReply *geocode(QString requestString, const QGeoShape &bounds, bool manualBoundsRequired =…
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeocodingmanagerenginemapbox.h61 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override;
63 const QGeoShape &bounds) override;
65 const QGeoShape &bounds) override;
72 QGeoCodeReply *doSearch(const QString &, QUrlQuery &, const QGeoShape &bounds);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/labs/
H A Dqmappolygonobject_p_p.h78 virtual QGeoShape geoShape() const override;
79 virtual void setGeoShape(const QGeoShape &shape) override;
101 virtual QGeoShape geoShape() const override;
102 virtual void setGeoShape(const QGeoShape &shape) override;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocodingmanagerplugins/
H A Dqgeocodingmanagerengine_test.h54 void callSetViewport ( const QGeoShape &viewport ) {setViewport(viewport);} in callSetViewport()
72 …QGeoCodeReply* geocode(const QString &searchString, int limit, int offset, const QGeoShape &bounds) in geocode()
85 QGeoCodeReply* geocode (const QGeoAddress &address, const QGeoShape &bounds) in geocode()
96 QGeoCodeReply* reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) in reverseGeocode()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeocodingmanagerengine_esri.h60 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override;
62 const QGeoShape &bounds) override;
64 const QGeoShape &bounds) override;

12345