Marble

GeoDataNetworkLink.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Mayank Madan <[email protected]>
4 //
5 
6 
7 #ifndef MARBLE_GEODATANETWORKLINK_H
8 #define MARBLE_GEODATANETWORKLINK_H
9 
10 #include "GeoDataFeature.h"
11 #include "MarbleGlobal.h"
12 
13 namespace Marble {
14 
15 class GeoDataLink;
16 class GeoDataNetworkLinkPrivate;
17 
18 /**
19  */
20 class GEODATA_EXPORT GeoDataNetworkLink: public GeoDataFeature
21 {
22 public:
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 
53 private:
54  GeoDataNetworkLinkPrivate* const d;
55 };
56 
57 }
58 
59 #endif
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
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 Mon Sep 25 2023 03:50:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.