Marble

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

KDE's Doxygen guidelines are available online.