• 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
  • positionprovider
  • geoclue
  • GeoCute
Position.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 2009 Eckhart Wörner <ewoerner@kde.org>
9 //
10 
11 #ifndef GEOCUTE_POSITION_H
12 #define GEOCUTE_POSITION_H
13 
14 #include <QDateTime>
15 #include <QFlags>
16 
17 #include "Accuracy.h"
18 
19 
20 
21 namespace GeoCute
22 {
23 
24 enum PositionFieldFlag {
25  PositionFieldNone = 0,
26  PositionFieldLatitude = 1 << 0,
27  PositionFieldLongitude = 1 << 1,
28  PositionFieldAltitude = 1 << 2
29 };
30 
31 Q_DECLARE_FLAGS(PositionFields, PositionFieldFlag)
32 Q_DECLARE_OPERATORS_FOR_FLAGS(PositionFields)
33 
34 struct Position
35 {
36  Accuracy accuracy;
37  qreal altitude;
38  PositionFields fields;
39  qreal latitude;
40  qreal longitude;
41  QDateTime timestamp;
42 };
43 
44 }
45 
46 
47 
48 #endif
Accuracy.h
GeoCute::Position
Definition: Position.h:34
GeoCute::Position::timestamp
QDateTime timestamp
Definition: Position.h:41
GeoCute::Position::fields
PositionFields fields
Definition: Position.h:38
GeoCute::Position::accuracy
Accuracy accuracy
Definition: Position.h:36
GeoCute::Position::longitude
qreal longitude
Definition: Position.h:40
GeoCute::PositionFieldFlag
PositionFieldFlag
Definition: Position.h:24
GeoCute::Accuracy
Definition: Accuracy.h:26
GeoCute::Position::latitude
qreal latitude
Definition: Position.h:39
GeoCute::PositionFieldAltitude
Definition: Position.h:28
GeoCute::PositionFieldLatitude
Definition: Position.h:26
GeoCute::Position::altitude
qreal altitude
Definition: Position.h:37
GeoCute::PositionFieldLongitude
Definition: Position.h:27
QDateTime
GeoCute::PositionFieldNone
Definition: Position.h:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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