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
13#include "GeoDataContainer.h"
14
15#include "geodata_export.h"
16
17namespace Marble
18{
19
20class 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 */
33class GEODATA_EXPORT GeoDataFolder : public GeoDataContainer
34{
35 public:
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
55Q_DECLARE_METATYPE(Marble::GeoDataFolder*)
56
57#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 Fri Jun 21 2024 12:00:06 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.