• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataLink.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2012 Dennis Nienhüser <earthwings@gentoo.org>
9 // Copyright 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
10 
11 
12 #ifndef MARBLE_GEODATALINK_H
13 #define MARBLE_GEODATALINK_H
14 
15 #include "GeoDataObject.h"
16 #include "MarbleGlobal.h"
17 
18 namespace Marble {
19 
20 class GeoDataLinkPrivate;
21 
22 class MARBLE_EXPORT GeoDataLink: public GeoDataObject
23 {
24 public:
25  enum RefreshMode {
26  OnChange,
27  OnInterval,
28  OnExpire
29  };
30 
31  enum ViewRefreshMode {
32  Never,
33  OnStop,
34  OnRequest,
35  OnRegion
36  };
37 
38  GeoDataLink();
39 
40  GeoDataLink( const GeoDataLink &other );
41 
42  GeoDataLink& operator=( const GeoDataLink &other );
43  bool operator==( const GeoDataLink &other );
44  bool operator!=( const GeoDataLink &other );
45 
46  ~GeoDataLink();
47 
49  virtual const char* nodeType() const;
50 
51  QString href() const;
52 
53  void setHref( QString href );
54 
55  RefreshMode refreshMode() const;
56 
57  void setRefreshMode( RefreshMode refreshMode );
58 
59  qreal refreshInterval() const;
60 
61  void setRefreshInterval( qreal refreshInterval );
62 
63  ViewRefreshMode viewRefreshMode() const;
64 
65  void setViewRefreshMode(ViewRefreshMode refreshMode);
66 
67  qreal viewRefreshTime() const;
68 
69  void setViewRefreshTime(qreal viewRefreshTime);
70 
71  qreal viewBoundScale() const;
72 
73  void setViewBoundScale(qreal viewBoundScale);
74 
75  QString viewFormat() const;
76 
77  void setViewFormat(const QString &viewFormat);
78 
79  QString httpQuery() const;
80 
81  void setHttpQuery(const QString &httpQuery);
82 
83 private:
84  GeoDataLinkPrivate* const d;
85 };
86 
87 }
88 
89 #endif
Marble::GeoDataLink::ViewRefreshMode
ViewRefreshMode
Definition: GeoDataLink.h:31
Marble::GeoDataLink::OnInterval
Definition: GeoDataLink.h:27
Marble::GeoDataLink::OnRequest
Definition: GeoDataLink.h:34
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataLink
Definition: GeoDataLink.h:22
Marble::GeoDataLink::OnStop
Definition: GeoDataLink.h:33
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoDataLink::Never
Definition: GeoDataLink.h:32
Marble::GeoDataLink::RefreshMode
RefreshMode
Definition: GeoDataLink.h:25
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
GeoDataObject.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
QString
MarbleGlobal.h
Marble::GeoDataLink::OnChange
Definition: GeoDataLink.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal