QGeoPlace
Since: 1.1
#include <QtLocationSubset/QGeoPlace>
The QGeoPlace class represents basic information about a place.
A QGeoPlace contains a coordinate and the corresponding address, along with an optional bounding box describing the minimum viewport necessary to display the entirety of the place.
Overview
Protected Attributes Index
QSharedDataPointer< QGeoPlacePrivate > | d_ptr |
Public Functions Index
QGeoPlace () | |
QGeoPlace (const QGeoPlace &other) | |
virtual | ~QGeoPlace () |
QGeoAddress | address () const |
QGeoCoordinate | coordinate () const |
bool | operator!= (const QGeoPlace &other) const |
QGeoPlace & | operator= (const QGeoPlace &other) |
bool | operator== (const QGeoPlace &other) const |
void | setAddress (const QGeoAddress &address) |
void | setCoordinate (const QGeoCoordinate &coordinate) |
void | setViewport (const QGeoBoundingBox &viewport) |
QGeoBoundingBox | viewport () const |
Protected Functions Index
QGeoPlace (QGeoPlacePrivate *dd) |
Protected Attributes
QSharedDataPointer< QGeoPlacePrivate >
Public Functions
Constructs an empty place object.
Constructs a copy of other.
virtual
Destructor.
QGeoAddress
Returns the address of this place.
QGeoCoordinate
Returns the coordinate that this place is located at.
bool
Returns true if other is not equal to this place, otherwise returns false.
QGeoPlace &
Assigns other to this place and returns a reference to this place.
bool
Returns true if other is equal to this place, otherwise returns false.
void
Sets the address of this place.
void
Sets the coordinate that this place is located at.
void
Sets the viewport associated with this place to viewport.
The viewport is a suggestion for a size and position of a map window which aims to view this palce.
QGeoBoundingBox
Returns the viewport associated with this place.
The viewport is a suggestion for a size and position of a map window which aims to view this place.
Protected Functions
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy