• 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
  • plugins
  • render
  • aprs
GeoAprsCoordinates.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 2010 Wes Hardaker <hardaker@users.sourceforge.net>
9 //
10 
11 #ifndef GEOAPRSCOORDINATES_H
12 #define GEOAPRSCOORDINATES_H
13 
14 #include <QTime>
15 #include "GeoDataCoordinates.h"
16 
17 namespace Marble
18 {
19  class GeoAprsCoordinates : public GeoDataCoordinates
20  {
21  public:
22  // must match AprsObject's SeenFrom
23  enum SeenFrom {
24  FromNowhere = 0x00,
25  FromTTY = 0x01,
26  FromTCPIP = 0x02,
27  FromFile = 0x04,
28  Directly = 0x08
29  };
30 
31  GeoAprsCoordinates( qreal lon, qreal lat, int where );
32  ~GeoAprsCoordinates();
33 
34  void addSeenFrom( int where );
35  int seenFrom() const;
36  void setTimestamp( const QTime &t );
37  const QTime &timestamp() const;
38 
39  private:
40  int m_seenFrom;
41  QTime m_timestamp;
42  };
43 }
44 
45 #endif /* GEOAPRSCOORDINATES_H */
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoAprsCoordinates::FromNowhere
Definition: GeoAprsCoordinates.h:24
Marble::GeoAprsCoordinates::GeoAprsCoordinates
GeoAprsCoordinates(qreal lon, qreal lat, int where)
Definition: GeoAprsCoordinates.cpp:15
Marble::GeoAprsCoordinates::Directly
Definition: GeoAprsCoordinates.h:28
Marble::GeoAprsCoordinates::setTimestamp
void setTimestamp(const QTime &t)
Definition: GeoAprsCoordinates.cpp:40
QTime
Marble::GeoAprsCoordinates::SeenFrom
SeenFrom
Definition: GeoAprsCoordinates.h:23
Marble::GeoAprsCoordinates::addSeenFrom
void addSeenFrom(int where)
Definition: GeoAprsCoordinates.cpp:28
Marble::GeoAprsCoordinates::FromTTY
Definition: GeoAprsCoordinates.h:25
Marble::GeoAprsCoordinates::~GeoAprsCoordinates
~GeoAprsCoordinates()
Definition: GeoAprsCoordinates.cpp:23
Marble::GeoAprsCoordinates::FromFile
Definition: GeoAprsCoordinates.h:27
Marble::GeoAprsCoordinates::seenFrom
int seenFrom() const
Definition: GeoAprsCoordinates.cpp:34
Marble::GeoAprsCoordinates::FromTCPIP
Definition: GeoAprsCoordinates.h:26
Marble::GeoAprsCoordinates::timestamp
const QTime & timestamp() const
Definition: GeoAprsCoordinates.cpp:47
Marble::GeoAprsCoordinates
Definition: GeoAprsCoordinates.h:19
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