List item stores information about location results. More...
#include <locationlistitem.h>
Public Member Functions | |
LocationListItem () | |
Constructor. | |
~LocationListItem () | |
Destructor. | |
void | bounds (GeoCoordinate &swBound, GeoCoordinate &neBound) |
Returns location bounds in parameters. | |
GeoCoordinate | coordinates () const |
Returns item's coordinates. | |
void | setLocationData (const Location &location) |
Set location data for this item. | |
Private Attributes | |
Location | m_location |
Location data. |
List item stores information about location results.
LocationListItem::LocationListItem | ( | ) |
Constructor.
Sets sub items' text width.
void LocationListItem::bounds | ( | GeoCoordinate & | swBound, | |
GeoCoordinate & | neBound | |||
) |
Returns location bounds in parameters.
swBound | south-west bound in GeoCoorinate | |
neBound | north-east bound in GeoCoordinate |
GeoCoordinate LocationListItem::coordinates | ( | ) | const |
Returns item's coordinates.
void LocationListItem::setLocationData | ( | const Location & | location | ) |
Set location data for this item.
location | Location data |