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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataNetworkLinkControl.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 2013 Mohammed Nafees <nafees.technocool@gmail.com>
9 //
10 
11 #ifndef GEODATANETWORKLINKCONTROL_H
12 #define GEODATANETWORKLINKCONTROL_H
13 
14 #include <QString>
15 #include <QDateTime>
16 
17 #include "GeoDataContainer.h"
18 #include "GeoDataUpdate.h"
19 #include "GeoDataAbstractView.h"
20 #include "marble_export.h"
21 
22 namespace Marble
23 {
24 
25 class GeoDataNetworkLinkControlPrivate;
26 
27 class MARBLE_EXPORT GeoDataNetworkLinkControl : public GeoDataContainer
28 {
29 public:
30  GeoDataNetworkLinkControl();
31 
32  GeoDataNetworkLinkControl( const GeoDataNetworkLinkControl &other );
33 
34  GeoDataNetworkLinkControl& operator=( const GeoDataNetworkLinkControl &other );
35 
36  ~GeoDataNetworkLinkControl();
37 
39  virtual const char* nodeType() const;
40 
41  qreal minRefreshPeriod() const;
42  void setMinRefreshPeriod( const qreal &minRefreshPeriod );
43 
44  qreal maxSessionLength() const;
45  void setMaxSessionLength( const qreal &maxSessionLength );
46 
47  QString cookie() const;
48  void setCookie( const QString &cookie );
49 
50  QString message() const;
51  void setMessage( const QString &message );
52 
53  QString linkName() const;
54  void setLinkName( const QString &linkName );
55 
56  QString linkDescription() const;
57  void setLinkDescription( const QString &linkDescription );
58 
59  QString linkSnippet() const;
60  void setLinkSnippet( const QString &linkSnippet );
61  int maxLines() const;
62  void setMaxLines( const int &maxLines );
63 
64  QDateTime expires() const;
65  void setExpires( const QDateTime &expires );
66 
67  GeoDataUpdate& update();
68  const GeoDataUpdate& update() const;
69  void setUpdate( const GeoDataUpdate &update );
70 
71  GeoDataAbstractView* abstractView() const;
72  void setAbstractView( GeoDataAbstractView *abstractView );
73 
74 private:
75  GeoDataNetworkLinkControlPrivate* const d;
76 };
77 
78 }
79 
80 #endif
Marble::GeoDataAbstractView
Definition: GeoDataAbstractView.h:28
GeoDataAbstractView.h
GeoDataContainer.h
Marble::GeoDataContainer
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:47
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
GeoDataUpdate.h
marble_export.h
Marble::GeoDataUpdate
Definition: GeoDataUpdate.h:22
Marble::GeoDataNetworkLinkControl
Definition: GeoDataNetworkLinkControl.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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