Marble

GeoDataFolder.h
1 /*
2  SPDX-FileCopyrightText: 2007 Nikolas Zimmermann <[email protected]>
3  SPDX-FileCopyrightText: 2007 Murad Tagirov <[email protected]>
4  SPDX-FileCopyrightText: 2007 Inge Wallin <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #ifndef MARBLE_GEODATAFOLDER_H
10 #define MARBLE_GEODATAFOLDER_H
11 
12 
13 #include "GeoDataContainer.h"
14 
15 #include "geodata_export.h"
16 
17 namespace Marble
18 {
19 
20 class GeoDataFolderPrivate;
21 
22 /**
23  * @short A container that is used to arrange other GeoDataFeatures.
24  *
25  * A GeoDataFolder is used to arrange other GeoDataFeatures
26  * hierarchically (Folders, Placemarks, NetworkLinks, or Overlays). A
27  * GeoDataFeature is visible only if it and all its ancestors are
28  * visible.
29  *
30  * @see GeoDataFeature
31  * @see GeoDataContainer
32  */
33 class GEODATA_EXPORT GeoDataFolder : public GeoDataContainer
34 {
35  public:
36  GeoDataFolder();
37  GeoDataFolder( const GeoDataFolder& other );
38  ~GeoDataFolder() override;
39 
40  GeoDataFolder& operator=(const GeoDataFolder& other);
41 
42  bool operator==( const GeoDataFolder &other ) const;
43  bool operator!=( const GeoDataFolder &other ) const;
44 
45  const char* nodeType() const override;
46 
47  GeoDataFeature * clone() const override;
48 
49  private:
50  Q_DECLARE_PRIVATE(GeoDataFolder)
51 };
52 
53 }
54 
55 Q_DECLARE_METATYPE(Marble::GeoDataFolder*)
56 
57 #endif
A container that is used to arrange other GeoDataFeatures.
Definition: GeoDataFolder.h:33
A base class for all geodata features.
Binds a QML item to a specific geodetic location in screen coordinates.
A base class that can hold GeoDataFeatures.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.