Marble

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

KDE's Doxygen guidelines are available online.