List item stores information about route waypoints. More...
#include <routewaypointlistitem.h>
Public Member Functions | |
RouteWaypointListItem () | |
Constructor. | |
~RouteWaypointListItem () | |
Destructor. | |
GeoCoordinate | coordinates () const |
Returns item's coordinates. | |
void | setRouteWaypointData (const RouteSegment &routeSegment, const GeoCoordinate &coordinate) |
Set route waypoint data for this item. | |
Private Member Functions | |
void | setTurnTypeImage (const QString &turnType) |
Sets item's turn type image. | |
Private Attributes | |
GeoCoordinate | m_coordinates |
Route segment coordinates. |
List item stores information about route waypoints.
RouteWaypointListItem::RouteWaypointListItem | ( | ) |
Constructor.
Sets sub items' text width.
GeoCoordinate RouteWaypointListItem::coordinates | ( | ) | const |
Returns item's coordinates.
void RouteWaypointListItem::setRouteWaypointData | ( | const RouteSegment & | routeSegment, | |
const GeoCoordinate & | coordinate | |||
) |
Set route waypoint data for this item.
routeSegment | RouteSegment data | |
coordinate | GeoCoordinate |
void RouteWaypointListItem::setTurnTypeImage | ( | const QString & | turnType | ) | [private] |
Sets item's turn type image.
turnType | turn type defined in RouteSegment class. |