Home
last modified time | relevance | path

Searched refs:placeManager (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacemanager/
H A Dtst_qplacemanager.cpp70 QPlaceManager *placeManager; member in tst_QPlaceManager
96 placeManager = provider->placeManager(); in initTestCase()
97 QVERIFY(placeManager); in initTestCase()
102 QCOMPARE(placeManager->managerName(), QStringLiteral("qmlgeo.test.plugin")); in testMetadata()
103 QCOMPARE(placeManager->managerVersion(), 100); in testMetadata()
108 QCOMPARE(placeManager->locales().count(), 1); in testLocales()
109 QCOMPARE(placeManager->locales().at(0), QLocale()); in testLocales()
112 placeManager->setLocale(locale); in testLocales()
114 QCOMPARE(placeManager->locales().at(0), locale); in testLocales()
120 placeManager->setLocales(locales); in testLocales()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/placemanager_utils/
H A Dplacemanager_utils.h141 return doSavePlace(placeManager, place, expectedError, placeId);
145 return doSavePlaces(placeManager, places); in doSavePlaces()
149 return doSavePlaces(placeManager, places); in doSavePlaces()
155 return doRemovePlace(placeManager, place, expectedError);
161 return doSearch(placeManager, request, results,expectedError);
167 return doSearchSuggestions(placeManager, request, results, expectedError); in doSearchSuggestions()
173 return doFetchDetails(placeManager, placeId, place, expectedError);
177 return doInitializeCategories(placeManager, expectedError);
183 return doSaveCategory(placeManager, category, QString(),
191 return doSaveCategory(placeManager, category, parentId,
[all …]
H A Dplacemanager_utils.cpp43 : QObject(parent), placeManager(0) in PlaceManagerUtils()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/
H A Dqdeclarativecategory.cpp147 QPlaceManager *placeManager = serviceProvider->placeManager(); in pluginReady() local
148 if (!placeManager || serviceProvider->error() != QGeoServiceProvider::NoError) { in pluginReady()
349 QPlaceManager *placeManager = manager(); in save() local
350 if (!placeManager) in save()
353 m_reply = placeManager->saveCategory(category(), parentId); in save()
365 QPlaceManager *placeManager = manager(); in remove() local
366 if (!placeManager) in remove()
369 m_reply = placeManager->removeCategory(m_category.categoryId()); in remove()
448 QPlaceManager *placeManager = serviceProvider->placeManager(); in manager() local
449 if (!placeManager) { in manager()
[all …]
H A Dqdeclarativesupportedcategoriesmodel.cpp273 QPlaceManager *placeManager = serviceProvider->placeManager(); in setPlugin() local
274 if (placeManager) { in setPlugin()
275 disconnect(placeManager, SIGNAL(categoryAdded(QPlaceCategory,QString)), in setPlugin()
277 disconnect(placeManager, SIGNAL(categoryUpdated(QPlaceCategory,QString)), in setPlugin()
279 disconnect(placeManager, SIGNAL(categoryRemoved(QString,QString)), in setPlugin()
281 disconnect(placeManager, SIGNAL(dataChanged()), in setPlugin()
497 QPlaceManager *placeManager = serviceProvider->placeManager(); in connectNotificationSignals() local
498 if (!placeManager) in connectNotificationSignals()
503 connect(placeManager, SIGNAL(categoryAdded(QPlaceCategory,QString)), in connectNotificationSignals()
505 connect(placeManager, SIGNAL(categoryUpdated(QPlaceCategory,QString)), in connectNotificationSignals()
[all …]
H A Dqdeclarativeplaceicon.cpp204 QPlaceManager *placeManager = serviceProvider->placeManager(); in pluginReady() local
205 if (!placeManager || serviceProvider->error() != QGeoServiceProvider::NoError) { in pluginReady()
227 QPlaceManager *placeManager = serviceProvider->placeManager(); in manager() local
229 if (!placeManager) in manager()
232 return placeManager; in manager()
H A Dqdeclarativesearchresultmodel.cpp564 QPlaceManager *placeManager = serviceProvider->placeManager(); in setFavoritesPlugin() local
565 if (placeManager) { in setFavoritesPlugin()
566 if (placeManager->childCategoryIds().isEmpty()) { in setFavoritesPlugin()
567 QPlaceReply *reply = placeManager->initializeCategories(); in setFavoritesPlugin()
716 QPlaceManager *placeManager = serviceProvider->placeManager(); in initializePlugin() local
717 if (placeManager) { in initializePlugin()
718 … disconnect(placeManager, SIGNAL(placeUpdated(QString)), this, SLOT(placeUpdated(QString))); in initializePlugin()
719 … disconnect(placeManager, SIGNAL(placeRemoved(QString)), this, SLOT(placeRemoved(QString))); in initializePlugin()
720 connect(placeManager, SIGNAL(dataChanged()), this, SIGNAL(dataChanged())); in initializePlugin()
729 QPlaceManager *placeManager = serviceProvider->placeManager(); in initializePlugin() local
[all …]
H A Dqdeclarativesearchmodelbase.cpp222 QPlaceManager *placeManager = serviceProvider->placeManager(); in update() local
223 if (!placeManager) { in update()
230 m_reply = sendQuery(placeManager, m_request); in update()
344 QPlaceManager *placeManager = serviceProvider->placeManager(); in initializePlugin() local
345 if (placeManager) { in initializePlugin()
346 if (placeManager->childCategoryIds().isEmpty()) { in initializePlugin()
347 QPlaceReply *reply = placeManager->initializeCategories(); in initializePlugin()
H A Dqdeclarativeplace.cpp247 QPlaceManager *placeManager = serviceProvider->placeManager(); in pluginReady() local
248 if (!placeManager || serviceProvider->error() != QGeoServiceProvider::NoError) { in pluginReady()
743 QPlaceManager *placeManager = manager(); in getDetails() local
744 if (!placeManager) in getDetails()
747 m_reply = placeManager->getPlaceDetails(placeId()); in getDetails()
772 QPlaceManager *placeManager = manager(); in save() local
773 if (!placeManager) in save()
776 m_reply = placeManager->savePlace(place()); in save()
792 QPlaceManager *placeManager = manager(); in remove() local
793 if (!placeManager) in remove()
[all …]
H A Dqdeclarativeplacecontentmodel.cpp261 QPlaceManager *placeManager = serviceProvider->placeManager(); in fetchMore() local
262 if (!placeManager) in fetchMore()
271 m_reply = placeManager->getPlaceContent(request); in fetchMore()
273 m_reply = placeManager->getPlaceContent(m_nextRequest); in fetchMore()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacemanager_nokia/
H A Dtst_qplacemanager_nokia.cpp67 QPlaceManager *placeManager; member in tst_QPlaceManagerNokia
84 placeManager = provider->placeManager(); in initTestCase()
85 QVERIFY(placeManager); in initTestCase()
92 QPlaceIdReply *savePlaceReply = placeManager->savePlace(place); in unsupportedFunctions()
97 QPlaceIdReply *removePlaceReply = placeManager->removePlace(place.placeId()); in unsupportedFunctions()
104 QPlaceIdReply *saveCategoryReply = placeManager->saveCategory(category); in unsupportedFunctions()
109 QPlaceIdReply *removeCategoryReply = placeManager->removeCategory(category.categoryId()); in unsupportedFunctions()
119 QSignalSpy managerFinishedSpy(placeManager, SIGNAL(finished(QPlaceReply*))); in checkSignals()
120 QSignalSpy managerErrorSpy(placeManager,SIGNAL(error(QPlaceReply*,QPlaceReply::Error,QString))); in checkSignals()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/places_semiauto/
H A Dtst_places.cpp125 placeManager = provider->placeManager(); in initTestCase()
126 QVERIFY(placeManager); in initTestCase()
280 QPlaceSearchReply *reply = placeManager->search(searchRequest); in searchResultFields()
425 QList<QPlaceCategory> categories = placeManager->childCategories(); in categories()
434 QCOMPARE(placeManager->category(category.categoryId()), category); in categories()
437 QVERIFY(placeManager->parentCategoryId(category.categoryId()).isEmpty()); in categories()
439 placeManager->childCategories(category.categoryId()); in categories()
443 QVERIFY(placeManager->childCategories(child.categoryId()).isEmpty()); in categories()
444 … QVERIFY(placeManager->parentCategoryId(child.categoryId()) == category.categoryId()); in categories()
559 QCOMPARE(placeManager->locales().count(), 1); in locale()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoserviceprovider.cpp537 QPlaceManager *QGeoServiceProvider::placeManager() const in placeManager() function in QGeoServiceProvider
541 &(d_ptr->placeManager)); in placeManager()
747 if (d_ptr->placeManager) in setLocale()
748 d_ptr->placeManager->setLocale(locale); in setLocale()
762 placeManager(0), in QGeoServiceProviderPrivate()
778 delete placeManager; in ~QGeoServiceProviderPrivate()
793 delete placeManager; in unload()
794 placeManager = 0; in unload()
H A Dqgeoserviceprovider_p.h100 QPlaceManager *placeManager; variable
H A Dqgeoserviceprovider.h158 QPlaceManager *placeManager() const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoserviceprovider/
H A Dtst_qgeoserviceprovider.cpp188 QVERIFY(provider.placeManager() == nullptr); in tst_features()
190 if (provider.placeManager() != nullptr) in tst_features()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacemanager_unsupported/
H A Dtst_qplacemanager_unsupported.cpp103 m_manager = m_provider->placeManager(); in initTestCase()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/places/
H A Drequesthandler.h69 QPlaceManager *manager = provider->placeManager(); in initializeManager()