Marble

KmlWhenTagHandler.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Harshit Jain <[email protected]>
4 //
5 
6 #ifndef KmlWhenTagHandler_h
7 #define KmlWhenTagHandler_h
8 
9 #include "GeoTagHandler.h"
10 #include <GeoDataTimeStamp.h>
11 
12 class QString;
13 
14 namespace Marble
15 {
16 namespace kml
17 {
18 
19 class KmlwhenTagHandler : public GeoTagHandler
20 {
21 public:
22  GeoNode* parse(GeoParser&) const override;
23 
24  static QDateTime parse( const QString &dateTime );
25 
26  static GeoDataTimeStamp parseTimestamp( const QString &dateTime );
27 
28 private:
29  static Marble::GeoDataTimeStamp::TimeResolution modify( QString& whenString );
30 };
31 
32 }
33 }
34 
35 #endif // KmlWhenTagHandler_h
Binds a QML item to a specific geodetic location in screen coordinates.
QList< QVariant > parse(const QString &message, const QDateTime &externalIssueDateTime=QDateTime())
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.