Marble

GeoDataTimePrimitive.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Harshit Jain <[email protected]>
4 //
5 
6 #ifndef MARBLE_GEODATATIMEPRIMITIVE_H
7 #define MARBLE_GEODATATIMEPRIMITIVE_H
8 
9 #include "GeoDataObject.h"
10 
11 #include "geodata_export.h"
12 
13 namespace Marble
14 {
15 
16 class GeoDataTimePrimitivePrivate;
17 
18 /**
19  * @short a base class for the style classes
20  *
21  * A GeoDataTimePrimitive is a base class for the time classes TimeSpan
22  * and TimeStamp classes.
23  *
24  * @see GeoDataTimeSpan
25  * @see GeoDataTimeStamp
26  */
27 class GEODATA_EXPORT GeoDataTimePrimitive : public GeoDataObject
28 {
29  public:
30  /// Provides type information for downcasting a GeoNode
31  const char* nodeType() const override;
32 
33  GeoDataTimePrimitive& operator=( const GeoDataTimePrimitive& other );
34 
35  /**
36  * @brief Serialize the styleselector to a stream
37  * @param stream the stream
38  */
39  void pack( QDataStream& stream ) const override;
40 
41  /**
42  * @brief Unserialize the styleselector from a stream
43  * @param stream the stream
44  */
45  void unpack( QDataStream& stream ) override;
46 
49  ~GeoDataTimePrimitive() override;
50 private:
51  GeoDataTimePrimitivePrivate * const d;
52 };
53 
54 }
55 
56 #endif
A base class for all geodata objects.
Definition: GeoDataObject.h:43
Binds a QML item to a specific geodetic location in screen coordinates.
a base class for the style classes
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.