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
7#ifndef MARBLE_GEODATANETWORKLINK_H
8#define MARBLE_GEODATANETWORKLINK_H
9
10#include "GeoDataFeature.h"
11#include "MarbleGlobal.h"
12
13namespace Marble {
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 CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
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 Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.