• 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
GeoDataVec2.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 Mohammed Nafees <nafees.technocool@gmail.com>
9 //
10 
11 #ifndef GEODATAVEC2_H
12 #define GEODATAVEC2_H
13 
14 #include <QPointF>
15 
16 #include "MarbleGlobal.h"
17 
18 namespace Marble {
19 
20 class GeoDataVec2Private;
21 
22 class MARBLE_EXPORT GeoDataVec2 : public QPointF
23 {
24 public:
25  enum Unit {Fraction, Pixels, InsetPixels};
26 
27  GeoDataVec2();
28 
29  GeoDataVec2( const qreal &x, const qreal &y, const QString &xunit, const QString &yunit );
30 
31  GeoDataVec2( const GeoDataVec2 &other );
32 
33  GeoDataVec2& operator=( const GeoDataVec2 &other );
34 
35  ~GeoDataVec2();
36 
37  Unit xunit() const;
38  void setXunits( Unit xunit );
39 
40  Unit yunit() const;
41  void setYunits( Unit yunit );
42 
43 private:
44  GeoDataVec2Private* const d;
45 };
46 
47 }
48 
49 #endif
Marble::GeoDataVec2::Unit
Unit
Definition: GeoDataVec2.h:25
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
MarbleGlobal.h
Marble::GeoDataVec2
Definition: GeoDataVec2.h:22
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