• 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
MarbleLocale.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 2006-2007 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 //
11 
12 #ifndef MARBLE_MARBLELOCALE_H
13 #define MARBLE_MARBLELOCALE_H
14 
15 #include "marble_export.h"
16 
17 #include <QLocale>
18 
19 
20 namespace Marble
21 {
22 
23 class MarbleLocalePrivate;
24 
31 class MARBLE_EXPORT MarbleLocale
32 {
33  public:
34  MarbleLocale();
35  ~MarbleLocale();
36 
37  enum MeasurementSystem {
38  MetricSystem = 0,
39  ImperialSystem,
40  NauticalSystem
41  };
42 
43  void setMeasurementSystem( MarbleLocale::MeasurementSystem measurementSystem );
44  MarbleLocale::MeasurementSystem measurementSystem() const;
45 
46  static QString languageCode();
47 
48  private:
49  Q_DISABLE_COPY( MarbleLocale )
50  MarbleLocalePrivate * const d;
51 };
52 
53 }
54 
55 #endif
Marble::MarbleLocale::MeasurementSystem
MeasurementSystem
Definition: MarbleLocale.h:37
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::MarbleLocalePrivate
Definition: MarbleLocale_p.h:20
QString
Marble::MarbleLocale
A class that contains all localization stuff for Marble.
Definition: MarbleLocale.h:31
marble_export.h
Marble::MarbleLocale::ImperialSystem
Definition: MarbleLocale.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 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