8#include <QtCore/QLocale>
10#include <QtCore/QMetaType>
12#include <QtCore/QVariant>
54 qRegisterMetaType<QPlaceReply::Error>();
55 qRegisterMetaType<QPlaceReply *>();
76void QPlaceManagerEngine::setManagerName(
const QString &managerName)
100void QPlaceManagerEngine::setManagerVersion(
int managerVersion)
virtual QPlaceIdReply * removeCategory(const QString &categoryId)
Removes the category corresponding to categoryId from the manager engine's datastore.
virtual QPlaceIdReply * saveCategory(const QPlaceCategory &category, const QString &parentId)
Saves a category that is a child of the category specified by parentId.
QPlaceManager * manager() const
Returns the manager instance used to create this engine.
virtual QPlaceSearchReply * search(const QPlaceSearchRequest &request)
Searches for places according to the parameters specified in request.
virtual QPlaceIdReply * savePlace(const QPlace &place)
Saves a specified place to the manager engine's datastore.
virtual QPlaceSearchSuggestionReply * searchSuggestions(const QPlaceSearchRequest &request)
Requests a set of search term suggestions according to the parameters specified in request.
virtual QPlaceDetailsReply * getPlaceDetails(const QString &placeId)
Retrieves details of place corresponding to the given placeId.
virtual QPlaceReply * initializeCategories()
Initializes the categories of the manager engine.
QString managerName() const
Returns the name which this engine implementation uses to distinguish itself from the implementations...
int managerVersion() const
Returns the version of this engine implementation.
virtual QList< QLocale > locales() const
Returns a list of preferred locales.
virtual void setLocales(const QList< QLocale > &locales)
Set the list of preferred locales.
virtual QUrl constructIconUrl(const QPlaceIcon &icon, const QSize &size) const
QUrl QPlaceManagerEngine::constructIconUrl(const QPlaceIcon &icon, const QSize &size)
virtual QStringList childCategoryIds(const QString &categoryId) const
Returns the child category identifiers of the category corresponding to categoryId.
virtual QPlaceContentReply * getPlaceContent(const QPlaceContentRequest &request)
Retrieves content for a place according to the parameters specified in request.
virtual QPlaceMatchReply * matchingPlaces(const QPlaceMatchRequest &request)
Returns a reply which contains a list of places which correspond/match those specified in request.
virtual QList< QPlaceCategory > childCategories(const QString &parentId) const
Returns a list of categories that are children of the category corresponding to parentId.
virtual QPlace compatiblePlace(const QPlace &original) const
Returns a pruned or modified version of the original place which is suitable to be saved by the manag...
virtual QPlaceIdReply * removePlace(const QString &placeId)
Removes the place corresponding to placeId from the manager engine's datastore.
QPlaceManagerEngine(const QVariantMap ¶meters, QObject *parent=nullptr)
Constructs a new engine with the specified parent, using parameters to pass any implementation specif...
virtual QPlaceCategory category(const QString &categoryId) const
Returns the category corresponding to the given categoryId.
virtual ~QPlaceManagerEngine()
Destroys this engine.
virtual QString parentCategoryId(const QString &categoryId) const
Returns the parent category identifier of the category corresponding to categoryId.
\macro QT_RESTRICTED_CAST_FROM_ASCII
const QLoggingCategory & category()
[1]
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
#define QStringLiteral(str)
QNetworkRequest request(url)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent