Marble

GeoDataResourceMap.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6#ifndef GEODATARESOURCEMAP_H
7#define GEODATARESOURCEMAP_H
8
9#include "GeoDocument.h"
10#include "MarbleGlobal.h"
11
12namespace Marble
13{
14
15class GeoDataAlias;
16class GeoDataResourceMapPrivate;
17
18/**
19 */
20class GEODATA_EXPORT GeoDataResourceMap : public GeoNode
21{
22public:
23 GeoDataResourceMap();
24
25 GeoDataResourceMap(const GeoDataResourceMap &other);
26
27 GeoDataResourceMap &operator=(const GeoDataResourceMap &other);
28
29 bool operator==(const GeoDataResourceMap &other) const;
30 bool operator!=(const GeoDataResourceMap &other) const;
31
32 ~GeoDataResourceMap() override;
33
34 /** Provides type information for downcasting a GeoNode */
35 const char *nodeType() const override;
36
37 const GeoDataAlias &alias() const;
38
39 GeoDataAlias &alias();
40
41 void setAlias(const GeoDataAlias &alias);
42
43 QString sourceHref() const;
44
45 void setSourceHref(const QString &sourceHref);
46
47 QString targetHref() const;
48
49 void setTargetHref(const QString &targetHref);
50
51private:
52 GeoDataResourceMapPrivate *const d;
53};
54
55}
56
57#endif // GEODATARESOURCEMAP_H
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
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 Dec 20 2024 11:52:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.