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#ifndef MARBLE_GEODATAALIAS_H
7#define MARBLE_GEODATAALIAS_H
8
9#include "GeoDocument.h"
10#include "MarbleGlobal.h"
11
12namespace Marble
13{
14
15class GeoDataAliasPrivate;
16
17/**
18 */
19class GEODATA_EXPORT GeoDataAlias : public GeoNode
20{
21public:
22 GeoDataAlias();
23
24 GeoDataAlias(const GeoDataAlias &other);
25
26 GeoDataAlias &operator=(const GeoDataAlias &other);
27
28 bool operator==(const GeoDataAlias &other) const;
29
30 bool operator!=(const GeoDataAlias &other) const;
31
32 ~GeoDataAlias() override;
33
34 /** Provides type information for downcasting a GeoNode */
35 const char *nodeType() const override;
36
37 QString sourceHref() const;
38
39 void setSourceHref(const QString &sourceHref);
40
41 QString targetHref() const;
42
43 void setTargetHref(const QString &targetHref);
44
45private:
46 GeoDataAliasPrivate *const d;
47};
48
49}
50
51#endif
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
bool operator==(const StyleDelim &l, const StyleDelim &r)
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 Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.