1// qplacemanager.sip generated by MetaSIP 2// 3// This file is part of the QtLocation Python extension module. 4// 5// Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com> 6// 7// This file is part of PyQt5. 8// 9// This file may be used under the terms of the GNU General Public License 10// version 3.0 as published by the Free Software Foundation and appearing in 11// the file LICENSE included in the packaging of this file. Please review the 12// following information to ensure the GNU General Public License version 3.0 13// requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14// 15// If you do not wish to use this file under the terms of the GPL version 3.0 16// then you may purchase a commercial license. For more information contact 17// info@riverbankcomputing.com. 18// 19// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 22 23%If (Qt_5_5_0 -) 24 25class QPlaceManager : QObject /NoDefaultCtors/ 26{ 27%TypeHeaderCode 28#include <qplacemanager.h> 29%End 30 31public: 32 virtual ~QPlaceManager(); 33 QString managerName() const; 34 int managerVersion() const; 35 QPlaceDetailsReply *getPlaceDetails(const QString &placeId) const; 36 QPlaceContentReply *getPlaceContent(const QPlaceContentRequest &request) const; 37 QPlaceSearchReply *search(const QPlaceSearchRequest &query) const; 38 QPlaceSearchSuggestionReply *searchSuggestions(const QPlaceSearchRequest &request) const; 39 QPlaceIdReply *savePlace(const QPlace &place); 40 QPlaceIdReply *removePlace(const QString &placeId); 41 QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId = QString()); 42 QPlaceIdReply *removeCategory(const QString &categoryId); 43 QPlaceReply *initializeCategories(); 44 QString parentCategoryId(const QString &categoryId) const; 45 QStringList childCategoryIds(const QString &parentId = QString()) const; 46 QPlaceCategory category(const QString &categoryId) const; 47 QList<QPlaceCategory> childCategories(const QString &parentId = QString()) const; 48 QList<QLocale> locales() const; 49 void setLocale(const QLocale &locale); 50 void setLocales(const QList<QLocale> &locale); 51 QPlace compatiblePlace(const QPlace &place); 52 QPlaceMatchReply *matchingPlaces(const QPlaceMatchRequest &request) const; 53 54signals: 55 void finished(QPlaceReply *reply); 56 void error(QPlaceReply *, QPlaceReply::Error error, const QString &errorString = QString()); 57 void placeAdded(const QString &placeId); 58 void placeUpdated(const QString &placeId); 59 void placeRemoved(const QString &placeId); 60 void categoryAdded(const QPlaceCategory &category, const QString &parentId); 61 void categoryUpdated(const QPlaceCategory &category, const QString &parentId); 62 void categoryRemoved(const QString &categoryId, const QString &parentId); 63 void dataChanged(); 64}; 65 66%End 67