1 #ifndef LOCATIONLISTITEM_H
2 #define LOCATIONLISTITEM_H
4 #include "extendedlistitem.h"
5 #include "../routing/location.h"
7 class LocationListItem : public ExtendedListItem
12 /*******************************************************************************
13 * BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
14 ******************************************************************************/
17 * @brief Returns item's coordinates.
19 * @return item's coordinates
21 GeoCoordinate coordinates();
24 * @brief Returns item's ID.
30 void bounds(GeoCoordinate &swBound, GeoCoordinate &neBound);
32 /******************************************************************************
33 * MEMBER FUNCTIONS AND SLOTS
34 ******************************************************************************/
37 * @brief Set user data for this item.
39 * @param user User pointer
41 void setLocationData(const Location &location);
43 /******************************************************************************
45 ******************************************************************************/
51 #endif // LOCATIONLISTITEM_H