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
14class GeoDataAlias;
15class GeoDataResourceMapPrivate;
16
17/**
18 */
19class GEODATA_EXPORT GeoDataResourceMap: public GeoNode
20{
21public:
22 GeoDataResourceMap();
23
24 GeoDataResourceMap( const GeoDataResourceMap &other );
25
26 GeoDataResourceMap& operator=( const GeoDataResourceMap &other );
27
28 bool operator==( const GeoDataResourceMap &other ) const;
29 bool operator!=( const GeoDataResourceMap &other ) const;
30
31 ~GeoDataResourceMap() override;
32
33 /** Provides type information for downcasting a GeoNode */
34 const char* nodeType() const override;
35
36 const GeoDataAlias& alias() const;
37
38 GeoDataAlias& alias();
39
40 void setAlias( const GeoDataAlias &alias);
41
42 QString sourceHref() const;
43
44 void setSourceHref( const QString& sourceHref );
45
46 QString targetHref() const;
47
48 void setTargetHref( const QString& targetHref );
49
50private:
51 GeoDataResourceMapPrivate* const d;
52};
53
54}
55
56#endif // GEODATARESOURCEMAP_H
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.