Home
last modified time | relevance | path

Searched refs:QPlaceCategory (Results 1 – 25 of 45) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/
H A Dqplacecategory.cpp103 QPlaceCategory::QPlaceCategory() in QPlaceCategory() function in QPlaceCategory
111 QPlaceCategory::QPlaceCategory(const QPlaceCategory &other) in QPlaceCategory() function in QPlaceCategory
119 QPlaceCategory::~QPlaceCategory() in ~QPlaceCategory()
126 QPlaceCategory &QPlaceCategory::operator =(const QPlaceCategory &other) in operator =()
138 bool QPlaceCategory::operator==(const QPlaceCategory &other) const in operator ==()
153 QString QPlaceCategory::categoryId() const in categoryId()
161 void QPlaceCategory::setCategoryId(const QString &identifier) in setCategoryId()
169 QString QPlaceCategory::name() const in name()
177 void QPlaceCategory::setName(const QString &name) in setName()
185 void QPlaceCategory::setVisibility(QLocation::Visibility visibility) in setVisibility()
[all …]
H A Dqplacecategory.h52 class Q_LOCATION_EXPORT QPlaceCategory
55 QPlaceCategory();
56 QPlaceCategory(const QPlaceCategory &other);
58 virtual ~QPlaceCategory();
60 QPlaceCategory &operator=(const QPlaceCategory &other);
62 bool operator==(const QPlaceCategory &other) const;
63 bool operator!=(const QPlaceCategory &other) const {
85 Q_DECLARE_TYPEINFO(QPlaceCategory, Q_MOVABLE_TYPE);
89 Q_DECLARE_METATYPE(QPlaceCategory)
H A Dqplacemanager.cpp144 qRegisterMetaType<QPlaceCategory>(); in QPlaceManager()
157 connect(d, SIGNAL(categoryAdded(QPlaceCategory,QString)), in QPlaceManager()
158 this, SIGNAL(categoryAdded(QPlaceCategory,QString))); in QPlaceManager()
159 connect(d, SIGNAL(categoryUpdated(QPlaceCategory,QString)), in QPlaceManager()
160 this, SIGNAL(categoryUpdated(QPlaceCategory,QString))); in QPlaceManager()
263 QPlaceIdReply *QPlaceManager::saveCategory(const QPlaceCategory &category, const QString &parentId) in saveCategory()
308 QPlaceCategory QPlaceManager::category(const QString &categoryId) const in category()
317 QList<QPlaceCategory> QPlaceManager::childCategories(const QString &parentId) const in childCategories()
H A Dqplacemanager.h83 … QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId = QString());
90 QPlaceCategory category(const QString &categoryId) const;
91 QList<QPlaceCategory> childCategories(const QString &parentId = QString()) const;
109 void categoryAdded(const QPlaceCategory &category, const QString &parentId);
110 void categoryUpdated(const QPlaceCategory &category, const QString &parentId);
H A Dqplacemanagerengine.h73 virtual QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId);
79 virtual QPlaceCategory category(const QString &categoryId) const;
81 virtual QList<QPlaceCategory> childCategories(const QString &parentId) const;
100 void categoryAdded(const QPlaceCategory &category, const QString &parentCategoryId);
101 void categoryUpdated(const QPlaceCategory &category, const QString &parentCategoryId);
H A Dqplacemanagerengine.cpp206 QPlaceIdReply *QPlaceManagerEngine::saveCategory(const QPlaceCategory &category, in saveCategory()
260 QPlaceCategory QPlaceManagerEngine::category(const QString &categoryId) const in category()
264 return QPlaceCategory(); in category()
271 QList<QPlaceCategory> QPlaceManagerEngine::childCategories(const QString &parentId) const in childCategories()
275 return QList<QPlaceCategory>(); in childCategories()
H A Dqplace_p.h75 virtual QList<QPlaceCategory> categories() const = 0;
76 virtual void setCategories(const QList<QPlaceCategory> &categories) = 0;
122 virtual QList<QPlaceCategory> categories() const override;
123 virtual void setCategories(const QList<QPlaceCategory> &categories) override;
151 QList<QPlaceCategory> m_categories;
H A Dqplacesearchrequest.h73 QList<QPlaceCategory> categories() const;
74 void setCategory(const QPlaceCategory &category);
75 void setCategories(const QList<QPlaceCategory> &categories);
H A Dqplace.cpp204 QList<QPlaceCategory> QPlace::categories() const in categories()
212 void QPlace::setCategory(const QPlaceCategory &category) in setCategory()
214 d_ptr->setCategories(QList<QPlaceCategory>()); in setCategory()
215 d_ptr->setCategories(QList<QPlaceCategory>() << category); in setCategory()
221 void QPlace::setCategories(const QList<QPlaceCategory> &categories) in setCategories()
689 QList<QPlaceCategory> QPlacePrivateDefault::categories() const in categories()
694 void QPlacePrivateDefault::setCategories(const QList<QPlaceCategory> &categories) in setCategories()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/places_semiauto/
H A Dtst_places.cpp133 QFETCH(QList<QPlaceCategory>, categories); in search()
158 QTest::addColumn<QList<QPlaceCategory> >("categories"); in search_data()
180 << QList<QPlaceCategory>() in search_data()
188 << QList<QPlaceCategory>() in search_data()
193 QPlaceCategory eatDrinkCat; in search_data()
198 << (QList<QPlaceCategory>() in search_data()
204 QPlaceCategory accommodationCat; in search_data()
209 << (QList<QPlaceCategory>() in search_data()
216 QPlaceCategory nonExistentCat; in search_data()
221 << (QList<QPlaceCategory>() in search_data()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacecategory/
H A Dtst_qplacecategory.cpp59 QPlaceCategory testObj; in constructorTest()
63 QPlaceCategory *testObjPtr = new QPlaceCategory(testObj); in constructorTest()
71 QPlaceCategory testObj; in categoryIdTest()
79 QPlaceCategory testObj; in nameTest()
87 QPlaceCategory category; in visibilityTest()
98 QPlaceCategory testObj; in operatorsTest()
100 QPlaceCategory testObj2; in operatorsTest()
115 QPlaceCategory category; in isEmptyTest()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/
H A Dqdeclarativesupportedcategoriesmodel.cpp275 disconnect(placeManager, SIGNAL(categoryAdded(QPlaceCategory,QString)), in setPlugin()
276 this, SLOT(addedCategory(QPlaceCategory,QString))); in setPlugin()
277 disconnect(placeManager, SIGNAL(categoryUpdated(QPlaceCategory,QString)), in setPlugin()
278 this, SLOT(updatedCategory(QPlaceCategory,QString))); in setPlugin()
363 void QDeclarativeSupportedCategoriesModel::addedCategory(const QPlaceCategory &category, in addedCategory()
399 void QDeclarativeSupportedCategoriesModel::updatedCategory(const QPlaceCategory &category, in updatedCategory()
442 QPlaceCategory oldCategory = categoryNode->declCategory->category(); in updatedCategory()
503 connect(placeManager, SIGNAL(categoryAdded(QPlaceCategory,QString)), in connectNotificationSignals()
504 this, SLOT(addedCategory(QPlaceCategory,QString))); in connectNotificationSignals()
505 connect(placeManager, SIGNAL(categoryUpdated(QPlaceCategory,QString)), in connectNotificationSignals()
[all …]
H A Dqdeclarativecategory_p.h73 Q_PROPERTY(QPlaceCategory category READ category WRITE setCategory)
85 …QDeclarativeCategory(const QPlaceCategory &category, QDeclarativeGeoServiceProvider *plugin, QObje…
103 QPlaceCategory category();
104 void setCategory(const QPlaceCategory &category);
140 QPlaceCategory m_category;
H A Dqdeclarativesupportedcategoriesmodel_p.h140 void addedCategory(const QPlaceCategory &category, const QString &parentId);
141 void updatedCategory(const QPlaceCategory &category, const QString &parentId);
146 QStringList populateCategories(QPlaceManager *, const QPlaceCategory &parent);
148 int rowToAddChild(PlaceCategoryNode *, const QPlaceCategory &category);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqplacemanagerengine_nokiav2.h58 QPlaceCategory category;
85 QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId) override;
91 QPlaceCategory category(const QString &categoryId) const override;
92 QList<QPlaceCategory> childCategories(const QString &parentId) const override;
98 const QList<QPlaceCategory> &categories = QList<QPlaceCategory>()) const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/placemanager_utils/
H A Dplacemanager_utils.h57 class QPlaceCategory; variable
104 const QPlaceCategory &category,
109 static bool doRemoveCategory(QPlaceManager *manager, const QPlaceCategory &category,
114 QPlaceCategory *category,
180 bool doSaveCategory(const QPlaceCategory &category,
187 bool doSaveCategory(const QPlaceCategory &category,
195 bool doRemoveCategory(const QPlaceCategory &category,
202 QPlaceCategory *category,
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/places/
H A Drequesthandler.h196 QPlaceCategory fastFood; in saveCategory()
198 QPlaceCategory category; in saveCategory()
210 QPlaceCategory category; in removeCategory()
218 QPlaceCategory diner; in searchRequest()
219 QPlaceCategory restaurant; in searchRequest()
237 QList<QPlaceCategory> categories; in searchRequest()
434 QPlaceCategory pizza; in categories()
436 QList<QPlaceCategory> topLevelCategories = manager->childCategories(); in categories()
437 foreach (const QPlaceCategory &category, topLevelCategories) in categories()
442 QList<QPlaceCategory> childCategories = manager->childCategories(pizza.categoryId()); in categories()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/placesv2/
H A Djsonparserhelpers.h51 class QPlaceCategory; variable
58 QPlaceCategory parseCategory(const QJsonObject &categoryObject,
60 QList<QPlaceCategory> parseCategories(const QJsonArray &categoryArray,
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqplacemanagerenginemapbox.cpp128 const QList<QPlaceCategory> placeCategories = request.categories(); in doSearch()
167 for (const QPlaceCategory &placeCategory : placeCategories) in doSearch()
246 QPlaceCategory category; in initializeCategories()
282 QPlaceCategory QPlaceManagerEngineMapbox::category(const QString &categoryId) const in category()
287 QList<QPlaceCategory> QPlaceManagerEngineMapbox::childCategories(const QString &parentId) const in childCategories()
293 return QList<QPlaceCategory>(); in childCategories()
H A Dqplacesearchreplymapbox.cpp106 QList<QPlaceCategory> categories; in parsePlaceResult()
108 QPlaceCategory category; in parsePlaceResult()
182 const QList<QPlaceCategory> categories = request().categories(); in onReplyFinished()
189 const QList<QPlaceCategory> placeCategories = placeResult.place().categories(); in onReplyFinished()
192 for (const QPlaceCategory &placeCategory : placeCategories) { in onReplyFinished()
H A Dqplacemanagerenginemapbox.h66 QPlaceCategory category(const QString &categoryId) const override;
67 QList<QPlaceCategory> childCategories(const QString &parentId) const override;
97 QHash<QString, QPlaceCategory> m_categories;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqplacemanagerengineosm.h66 QPlaceCategory category(const QString &categoryId) const override;
68 QList<QPlaceCategory> childCategories(const QString &parentId) const override;
91 QHash<QString, QPlaceCategory> m_categories;
H A Dqplacemanagerengineosm.cpp161 foreach (const QPlaceCategory &category, request.categories()) { in search()
234 QPlaceCategory QPlaceManagerEngineOsm::category(const QString &categoryId) const in category()
239 QList<QPlaceCategory> QPlaceManagerEngineOsm::childCategories(const QString &parentId) const in childCategories()
241 QList<QPlaceCategory> categories; in childCategories()
288 QPlaceCategory category; in categoryReplyFinished()
296 QPlaceCategory category; in categoryReplyFinished()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dplacemanagerengine_esri.h65 QPlaceCategory category(const QString &categoryId) const override;
67 QList<QPlaceCategory> childCategories(const QString &parentId) const override;
92 QHash<QString, QPlaceCategory> m_categories;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/geotestplugin/
H A Dqplacemanagerengine_test.h59 inline uint qHash(const QPlaceCategory &category) in qHash()
249 QPlaceCategory category; in QPlaceManagerEngineTest()
279 QList<QPlaceCategory> categories; in QPlaceManagerEngineTest()
282 QPlaceCategory c = m_categories.value(ca.at(j).toString()); in QPlaceManagerEngineTest()
478 const QSet<QPlaceCategory> categories(categoryList.cbegin(), categoryList.cend()); in search()
481 … const QSet<QPlaceCategory> placeCategories(placeCategoryList.cbegin(), placeCategoryList.cend()); in search()
565 QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId) override in saveCategory()
586 QPlaceCategory c = category; in saveCategory()
647 virtual QPlaceCategory category(const QString &categoryId) const override in category()
652 QList<QPlaceCategory> childCategories(const QString &parentId) const override in childCategories()
[all …]

12