Marble

GeoDataNetworkLink.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Mayank Madan <maddiemadan@gmail.com>
4//
5
6#ifndef MARBLE_GEODATANETWORKLINK_H
7#define MARBLE_GEODATANETWORKLINK_H
8
9#include "GeoDataFeature.h"
10#include "MarbleGlobal.h"
11
12namespace Marble
13{
14
15class GeoDataLink;
16class GeoDataNetworkLinkPrivate;
17
18/**
19 */
20class GEODATA_EXPORT GeoDataNetworkLink : public GeoDataFeature
21{
22public:
23 GeoDataNetworkLink();
24
25 GeoDataNetworkLink(const GeoDataNetworkLink &other);
26
27 GeoDataNetworkLink &operator=(const GeoDataNetworkLink &other);
28
29 bool operator==(const GeoDataNetworkLink &other) const;
30 bool operator!=(const GeoDataNetworkLink &other) const;
31
32 ~GeoDataNetworkLink() override;
33
34 GeoDataFeature *clone() const override;
35
36 /** Provides type information for downcasting a GeoNode */
37 const char *nodeType() const override;
38
39 bool refreshVisibility() const;
40
41 void setRefreshVisibility(bool refreshVisibility);
42
43 bool flyToView() const;
44
45 void setFlyToView(bool flyToView);
46
47 GeoDataLink &link();
48
49 const GeoDataLink &link() const;
50
51 void setLink(const GeoDataLink &link);
52
53private:
54 GeoDataNetworkLinkPrivate *const d;
55};
56
57}
58
59#endif
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
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 Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.