4#ifndef QGEOSERVICEPROVIDER_H
5#define QGEOSERVICEPROVIDER_H
7#include <QtCore/QVariantMap>
8#include <QtCore/QString>
9#include <QtCore/QObject>
10#include <QtLocation/qlocationglobal.h>
41 NoRoutingFeatures = 0,
42 OnlineRoutingFeature = (1<<0),
43 OfflineRoutingFeature = (1<<1),
44 LocalizedRoutingFeature = (1<<2),
45 RouteUpdatesFeature = (1<<3),
46 AlternativeRoutesFeature = (1<<4),
47 ExcludeAreasRoutingFeature = (1<<5),
48 AnyRoutingFeatures = ~(0)
52 NoGeocodingFeatures = 0,
53 OnlineGeocodingFeature = (1<<0),
54 OfflineGeocodingFeature = (1<<1),
55 ReverseGeocodingFeature = (1<<2),
56 LocalizedGeocodingFeature = (1<<3),
57 AnyGeocodingFeatures = ~(0)
61 NoMappingFeatures = 0,
62 OnlineMappingFeature = (1<<0),
63 OfflineMappingFeature = (1<<1),
64 LocalizedMappingFeature = (1<<2),
65 AnyMappingFeatures = ~(0)
70 OnlinePlacesFeature = (1<<0),
71 OfflinePlacesFeature = (1<<1),
72 SavePlaceFeature = (1<<2),
73 RemovePlaceFeature = (1<<3),
74 SaveCategoryFeature = (1<<4),
75 RemoveCategoryFeature = (1<<5),
76 PlaceRecommendationsFeature = (1<<6),
77 SearchSuggestionsFeature = (1<<7),
78 LocalizedPlacesFeature = (1<<8),
79 NotificationsFeature = (1<<9),
80 PlaceMatchingFeature = (1<<10),
81 AnyPlacesFeatures = ~(0)
85 NoNavigationFeatures = 0,
86 OnlineNavigationFeature = (1<<0),
87 OfflineNavigationFeature = (1<<1),
88 AnyNavigationFeatures = ~(0)
109 bool allowExperimental =
false);
113 RoutingFeatures routingFeatures() const;
114 GeocodingFeatures geocodingFeatures() const;
115 MappingFeatures mappingFeatures() const;
116 PlacesFeatures placesFeatures() const;
117 NavigationFeatures navigationFeatures() const;
127 Error mappingError() const;
128 QString mappingErrorString() const;
129 Error geocodingError() const;
130 QString geocodingErrorString() const;
131 Error routingError() const;
132 QString routingErrorString() const;
133 Error placesError() const;
134 QString placesErrorString() const;
135 Error navigationError() const;
136 QString navigationErrorString() const;
139 void setLocale(const
QLocale &locale);
140 void setAllowExperimental(
bool allow);
RoutingFeature
Describes the routing features supported by the geo service provider.
MappingFeature
Describes the mapping features supported by the geo service provider.
PlacesFeature
Describes the places features supported by the geo service provider.
GeocodingFeature
Describes the geocoding features supported by the geo service provider.
Error
Describes an error related to the loading and setup of a service provider plugin.
@ MissingRequiredParameterError
NavigationFeature
Describes the navigation features supported by the geo service provider.
The QQmlEngine class provides an environment for instantiating QML components.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)