summaryrefslogtreecommitdiffstats
path: root/src/location/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/doc')
-rw-r--r--src/location/doc/src/examples/declarative-mapviewer.qdoc20
-rw-r--r--src/location/doc/src/examples/declarative-places.qdoc4
-rw-r--r--src/location/doc/src/maps.qdoc58
-rw-r--r--src/location/doc/src/qml-maps.qdoc2
-rw-r--r--src/location/doc/src/qtlocation-qml.qdoc6
5 files changed, 45 insertions, 45 deletions
diff --git a/src/location/doc/src/examples/declarative-mapviewer.qdoc b/src/location/doc/src/examples/declarative-mapviewer.qdoc
index 6fbec0e9..ff7ff7db 100644
--- a/src/location/doc/src/examples/declarative-mapviewer.qdoc
+++ b/src/location/doc/src/examples/declarative-mapviewer.qdoc
@@ -38,8 +38,8 @@
covering each of these areas of functionality with snippets from the code.
The Map Viewer example can work with any of the available geo services plugins. However, some
- plugins may require additional \l {QtLocation5::PluginParameter}{plugin parameters} in order to
- function correctly. \l {QtLocation5::PluginParameter}{Plugin parameters} can be passed on the
+ plugins may require additional \l {QtLocation::PluginParameter}{plugin parameters} in order to
+ function correctly. \l {QtLocation::PluginParameter}{Plugin parameters} can be passed on the
command line using the \c {--plugin} argument, which takes the form:
\code
@@ -55,20 +55,20 @@
\list
\li Displaying a map
\list
- \li \l{QtLocation5::Map}{Map}
- \li \l{QtLocation5::MapGestureArea}{MapGestureArea}
+ \li \l{QtLocation::Map}{Map}
+ \li \l{QtLocation::MapGestureArea}{MapGestureArea}
\li \l{coordinate}
\endlist
\li Finding an address
\list
- \li \l{QtLocation5::GeocodeModel}{GeocodeModel}
- \li \l{QtLocation5::MapItemView}{MapItemView}
- \li \l{QtLocation5::MapCircle}{MapCircle}
+ \li \l{QtLocation::GeocodeModel}{GeocodeModel}
+ \li \l{QtLocation::MapItemView}{MapItemView}
+ \li \l{QtLocation::MapCircle}{MapCircle}
\endlist
\li Directions and travel routes
\list
- \li \l{QtLocation5::RouteModel}{RouteModel}
- \li \l{QtLocation5::MapRoute}{MapRoute}
+ \li \l{QtLocation::RouteModel}{RouteModel}
+ \li \l{QtLocation::MapRoute}{MapRoute}
\endlist
\endlist
@@ -186,7 +186,7 @@
\snippet mapviewer/content/map/MapComponent.qml routeinfomodel
Inside the RouteModel, we add an
- \l{QtLocation5::RouteModel::status}{onStatusChanged} handler, which
+ \l{QtLocation::RouteModel::status}{onStatusChanged} handler, which
calls the \c{update()} function we defined on the model:
\snippet mapviewer/content/map/MapComponent.qml routemodel1
diff --git a/src/location/doc/src/examples/declarative-places.qdoc b/src/location/doc/src/examples/declarative-places.qdoc
index 30848740..f73d2bee 100644
--- a/src/location/doc/src/examples/declarative-places.qdoc
+++ b/src/location/doc/src/examples/declarative-places.qdoc
@@ -61,8 +61,8 @@
from the "New" menu and fill in the fields. Click "Go!" to save the category.
The Places example can work with any of the available geo services plugins. However, some
- plugins may require additional \l {QtLocation5::PluginParameter}{plugin parameters} in order to
- function correctly. \l {QtLocation5::PluginParameter}{Plugin parameters} can be passed on the
+ plugins may require additional \l {QtLocation::PluginParameter}{plugin parameters} in order to
+ function correctly. \l {QtLocation::PluginParameter}{Plugin parameters} can be passed on the
command line using the \c {--plugin} argument, which takes the form:
\code
diff --git a/src/location/doc/src/maps.qdoc b/src/location/doc/src/maps.qdoc
index acd5cefb..a9816f52 100644
--- a/src/location/doc/src/maps.qdoc
+++ b/src/location/doc/src/maps.qdoc
@@ -47,26 +47,26 @@ A more hands-on introduction of the Maps and Navigation types can be found in th
\section2 Displaying Maps
-Displaying a map is done using the \l{QtLocation5::Map}{Map} QML types. The Map type supports
-user interaction through the \l{QtLocation5::MapGestureArea}{MapGestureArea} QML type. The Map
+Displaying a map is done using the \l{QtLocation::Map}{Map} QML types. The Map type supports
+user interaction through the \l{QtLocation::MapGestureArea}{MapGestureArea} QML type. The Map
object draws the map on-screen using OpenGL (ES), allowing for hardware-accelerated rendering
where available.
\b{Key Types}
\table
\row
- \li \l{QtLocation5::Plugin}{Plugin}
+ \li \l{QtLocation::Plugin}{Plugin}
\li A location-based services plugin provides data including map data which is then displayed in a Map object.
\row
- \li \l{QtLocation5::Map}{Map}
+ \li \l{QtLocation::Map}{Map}
\li QtQuick item to display a map on-screen.
\row
- \li \l{QtLocation5::MapGestureArea}{MapGestureArea}
+ \li \l{QtLocation::MapGestureArea}{MapGestureArea}
\li Interaction helper for panning, flicking and pinch-to-zoom gesture on a Map.
\endtable
-Note that the client must create a \l{QtLocation5::Plugin}{Plugin} object
-prior to using a \l{QtLocation5::Map}{Map} type in order to have access
+Note that the client must create a \l{QtLocation::Plugin}{Plugin} object
+prior to using a \l{QtLocation::Map}{Map} type in order to have access
to map data to display.
\section2 Putting Objects on a Map (Map Overlay Objects)
@@ -74,47 +74,47 @@ to map data to display.
Maps can also contain map overlay objects, which are used to display information
on its surface. There is a set of basic pre-defined map overlay objects, as well
as the ability to implement custom map overlay objects using the
-\l{QtLocation5::MapQuickItem}{MapQuickItem} type, which can contain any
+\l{QtLocation::MapQuickItem}{MapQuickItem} type, which can contain any
standard QtQuick item.
\b{Key Types}
\table
\row
- \li \l{QtLocation5::MapCircle}{MapCircle}
+ \li \l{QtLocation::MapCircle}{MapCircle}
\li A geographic circle (all points at a set distance from a center), optionally with a border.
\row
- \li \l{QtLocation5::MapRectangle}{MapRectangle}
+ \li \l{QtLocation::MapRectangle}{MapRectangle}
\li A rectangle whose top left and bottom right points are specified as
\l {coordinate} types, optionally with a border.
\row
- \li \l{QtLocation5::MapPolygon}{MapPolygon}
+ \li \l{QtLocation::MapPolygon}{MapPolygon}
\li A polygon made of an arbitrary list of \l {coordinate}{coordinates}.
\row
- \li \l{QtLocation5::MapPolyline}{MapPolyline}
+ \li \l{QtLocation::MapPolyline}{MapPolyline}
\li A polyline made of an arbitrary list of \l {coordinate}{coordinates}.
\row
- \li \l{QtLocation5::MapQuickItem}{MapQuickItem}
+ \li \l{QtLocation::MapQuickItem}{MapQuickItem}
\li Turns any arbitrary QtQuick Item into a map overlay object. MapQuickItem is an enabler for specifying custom map overlay objects.
\endtable
\section2 Model-View Design with Map Overlay Objects
To automatically generate map overlay objects based on the contents of a QtQuick
-model (for example a ListModel item), the \l{QtLocation5::MapItemView}{MapItemView}
+model (for example a ListModel item), the \l{QtLocation::MapItemView}{MapItemView}
type is available. It accepts any map overlay object as its delegate, and can
-only be created within a \l{QtLocation5::Map}{Map}.
+only be created within a \l{QtLocation::Map}{Map}.
\b{Key Types}
\table
\row
- \li \l{QtLocation5::MapItemView}{MapItemView}
+ \li \l{QtLocation::MapItemView}{MapItemView}
\li Populates a Map with map overlay objects based on the data provided by a model.
\endtable
\section2 Interaction with Map Overlay Objects
Interaction with the pre-defined map overlay object types is done using the
-\l{QtLocation5::MapMouseArea}{MapMouseArea} type, which behaves much like a
+\l{QtLocation::MapMouseArea}{MapMouseArea} type, which behaves much like a
normal QtQuick MouseArea. MapQuickItems can also contain MapMouseArea objects,
but can additionally use normal QtQuick MouseAreas to provide interaction.
@@ -126,10 +126,10 @@ available.
\b{Key Types}
\table
\row
- \li \l{QtLocation5::MapMouseArea}{MapMouseArea}
+ \li \l{QtLocation::MapMouseArea}{MapMouseArea}
\li Accepts mouse events for a pre-defined map overlay object (for example MapCircle).
\row
- \li \l{QtLocation5::MapMouseEvent}{MapMouseEvent}
+ \li \l{QtLocation::MapMouseEvent}{MapMouseEvent}
\li Provides additional information unique to mouse events on a Map.
\endtable
@@ -138,14 +138,14 @@ available.
Geocoding is the translation of geographic coordinates into addresses, or vice
versa. Such a translation usually involves sending the source data to a server
which then performs the translation and returns the results, although some
-location-based service provider \l{QtLocation5::Plugin}{plugins} may be able to
+location-based service provider \l{QtLocation::Plugin}{plugins} may be able to
provide some geocoding functionality without sending data to a remote server.
The availability and accuracy of the translation usually depends on the location
or address being translated, as different areas of the Earth are mapped to
varying degrees of accuracy.
A geocoding query in QML is performed using the
-\l{QtLocation5::GeocodeModel}{GeocodeModel} type. For an address-to-coordinate
+\l{QtLocation::GeocodeModel}{GeocodeModel} type. For an address-to-coordinate
query, its \c{query} property may be set to either an
\l{QtPositioning::Address}{Address} object or a string containing the textual
form of the address to search for. To perform the reverse, the same property
@@ -155,18 +155,18 @@ contents of the model.
\b{Key Types}
\table
\row
- \li \l{QtLocation5::Plugin}{Plugin}
+ \li \l{QtLocation::Plugin}{Plugin}
\li A location-based services plugin provides data including geocoding translation results which are exposed to clients via a GeocodeModel.
\row
- \li \l{QtLocation5::GeocodeModel}{GeocodeModel}
+ \li \l{QtLocation::GeocodeModel}{GeocodeModel}
\li Queries the Plugin for geocoding translations and provides access to results via indexes in the model.
\row
\li \l{QtPositioning::Address}{Address}
\li Structured address for use in queries and results of geocoding.
\endtable
-Note that the client must create a \l{QtLocation5::Plugin}{Plugin} object
-prior to using a \l{QtLocation5::GeocodeModel}{GeocodeModel} object. This
+Note that the client must create a \l{QtLocation::Plugin}{Plugin} object
+prior to using a \l{QtLocation::GeocodeModel}{GeocodeModel} object. This
will enable access to geocoding translation services and thus data to display.
\section1 Routing and Navigation
@@ -181,16 +181,16 @@ between the segments.
\b{Key Types}
\table
\row
- \li \l{QtLocation5::Route}{Route}
+ \li \l{QtLocation::Route}{Route}
\li The entire path to be navigated.
\row
- \li \l{QtLocation5::RouteSegment}{RouteSegment}
+ \li \l{QtLocation::RouteSegment}{RouteSegment}
\li The individual components of a route.
\row
- \li \l{QtLocation5::RouteManeuver}{RouteManeuver}
+ \li \l{QtLocation::RouteManeuver}{RouteManeuver}
\li The navigation information that joins segments.
\row
- \li \l{QtLocation5::RouteModel}{RouteModel}
+ \li \l{QtLocation::RouteModel}{RouteModel}
\li The means of making requests on the backend to supply route
information.
\endtable
diff --git a/src/location/doc/src/qml-maps.qdoc b/src/location/doc/src/qml-maps.qdoc
index 78e11a04..7460802c 100644
--- a/src/location/doc/src/qml-maps.qdoc
+++ b/src/location/doc/src/qml-maps.qdoc
@@ -216,7 +216,7 @@ Enabling and configuring pinch and flickable is easy within the \l Map type.
Zoom can also be controlled by other objects like sliders, as shown in the
example, by implementing the \c onValueChanged handler to update the Map
-\l {QtLocation5::Map::}{zoomLevel}.
+\l {QtLocation::Map::}{zoomLevel}.
\section1 Types
diff --git a/src/location/doc/src/qtlocation-qml.qdoc b/src/location/doc/src/qtlocation-qml.qdoc
index a24820bd..ed280dfb 100644
--- a/src/location/doc/src/qtlocation-qml.qdoc
+++ b/src/location/doc/src/qtlocation-qml.qdoc
@@ -41,14 +41,14 @@ statement in the QML file.
\section2 Location QML Concepts
Provided that a position has been obtained this module can
-add a \l {QtLocation5::Map}{Map} with positions of interest and
-\l {QtLocation5::Place}{Places}. The user can be made aware of nearby features and related
+add a \l {QtLocation::Map}{Map} with positions of interest and
+\l {QtLocation::Place}{Places}. The user can be made aware of nearby features and related
information, displayed graphically. Features on the \l Map may be places of business, entertainment
and so on. They may include paths, roads, or forms of transport leading so that
navigation optimization and assistance are possible.
To perform navigation we need \l {Route}s from start to destination. These routes
-are made up of segments. Each \l {QtLocation5::RouteSegment}{RouteSegment}
+are made up of segments. Each \l {QtLocation::RouteSegment}{RouteSegment}
can be considered a navigation sub-task: drive 100 meters, turn left. The beginning and
end of each segment is a \e waypoint, that is, one part of our journey.