Marble

GeoDataAlias.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6
7#ifndef MARBLE_GEODATAALIAS_H
8#define MARBLE_GEODATAALIAS_H
9
10#include "GeoDocument.h"
11#include "MarbleGlobal.h"
12
13namespace Marble {
14
15class GeoDataAliasPrivate;
16
17/**
18 */
19class GEODATA_EXPORT GeoDataAlias: public GeoNode
20{
21
22public:
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
47private:
48 GeoDataAliasPrivate* const d;
49};
50
51}
52
53#endif
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 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.