marble
WaypointParser.cpp
Go to the documentation of this file.
21 QString WaypointParser::readField<QString>( Field field, const QStringList &fields, const QString &defaultValue ) const {
30 // The default values are suitable for older versions of gosmore (the one shipped with Ubuntu Lucid Lynx)
54 void WaypointParser::addJunctionTypeMapping( const QString &key, RoutingWaypoint::JunctionType value )
88 RoutingWaypoint item( point, junctionType, junctionTypeRaw, roadType, secondsRemaining, roadName );
void setLineSeparator(const QString &separator)
The line separator used in the stream passed to parse.
Definition: WaypointParser.cpp:44
RoutingWaypoints parse(QTextStream &stream) const
Parses the given stream and returns the extracted waypoint list.
Definition: WaypointParser.cpp:59
void addJunctionTypeMapping(const QString &key, RoutingWaypoint::JunctionType value)
Associate the given string key with the given junction type.
Definition: WaypointParser.cpp:54
void setFieldIndex(Field field, int index)
Associate the zero-based field no index with the given semantic type.
Definition: WaypointParser.cpp:39
void setFieldSeparator(const QChar &separator)
The field separator.
Definition: WaypointParser.cpp:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.