24 #ifndef DIGIKAM_KML_GPS_DATA_PARSER_H
25 #define DIGIKAM_KML_GPS_DATA_PARSER_H
29 #include <QDomDocument>
59 void CreateTrackLine(QDomElement& parent, QDomDocument& root,
int altitudeMode);
67 void CreateTrackPoints(QDomElement& parent, QDomDocument& root,
int timeZone,
int altitudeMode);
77 QDomElement addKmlElement(QDomElement& target,
const QString& tag)
79 QDomElement kmlElement = kmlDocument->createElement( tag );
80 target.appendChild( kmlElement );
92 QDomElement addKmlTextElement(QDomElement& target,
const QString& tag,
const QString& text)
94 QDomElement kmlElement = kmlDocument->createElement( tag );
95 target.appendChild( kmlElement );
96 QDomText kmlTextElement = kmlDocument->createTextNode( text );
97 kmlElement.appendChild( kmlTextElement );
106 QDomDocument* kmlDocument;
Definition: geodataparser.h:41
a class derivated from GeoDataParser mainly to transform GPS data to KML
Definition: kmlgpsdataparser.h:42
~KMLGeoDataParser()
Definition: kmlgpsdataparser.cpp:39
void CreateTrackPoints(QDomElement &parent, QDomDocument &root, int timeZone, int altitudeMode)
Create a KML Element that will contain the points and of the GPS.
Definition: kmlgpsdataparser.cpp:85
QString lineString()
KMLGeoDataParser::KMLGeoDataParser::lineString()
Definition: kmlgpsdataparser.cpp:43
KMLGeoDataParser()
Definition: kmlgpsdataparser.cpp:33
void CreateTrackLine(QDomElement &parent, QDomDocument &root, int altitudeMode)
Create a KML Element that will contain the linetrace of the GPS.
Definition: kmlgpsdataparser.cpp:59
Definition: geolocationedit.cpp:97