Marble

GeoDataResourceMap.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Sanjiban Bairagya <[email protected]>
4 //
5 
6 #ifndef GEODATARESOURCEMAP_H
7 #define GEODATARESOURCEMAP_H
8 
9 #include "GeoDocument.h"
10 #include "MarbleGlobal.h"
11 
12 namespace Marble {
13 
14 class GeoDataAlias;
15 class GeoDataResourceMapPrivate;
16 
17 /**
18  */
19 class GEODATA_EXPORT GeoDataResourceMap: public GeoNode
20 {
21 public:
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 
50 private:
51  GeoDataResourceMapPrivate* const d;
52 };
53 
54 }
55 
56 #endif // GEODATARESOURCEMAP_H
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.