• 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
MapThemeManager.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-2008 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 // Copyright 2008 Jens-Michael Hoffmann <jensmh@gmx.de>
11 //
12 
13 #ifndef MARBLE_MAPTHEMEMANAGER_H
14 #define MARBLE_MAPTHEMEMANAGER_H
15 
16 #include <QObject>
17 #include <QStringList>
18 
19 #include "marble_export.h"
20 
21 class QStandardItem;
22 class QStandardItemModel;
23 class QString;
24 
25 namespace Marble
26 {
27 
28 class GeoSceneDocument;
29 
48 class MARBLE_EXPORT MapThemeManager : public QObject
49 {
50  Q_OBJECT
51 
52  public:
53  explicit MapThemeManager(QObject *parent = 0);
54  ~MapThemeManager();
55 
59  QStringList mapThemeIds() const;
60 
67  QStandardItemModel* mapThemeModel();
68 
72  QStandardItemModel *celestialBodiesModel();
73 
81  static GeoSceneDocument* loadMapTheme( const QString& mapThemeStringID );
82 
90  static void deleteMapTheme( const QString &mapThemeId );
91 
92  Q_SIGNALS:
96  void themesChanged();
97 
98  private:
99  Q_PRIVATE_SLOT( d, void directoryChanged( const QString& path ) )
100  Q_PRIVATE_SLOT( d, void fileChanged( const QString & path ) )
101 
102  Q_DISABLE_COPY( MapThemeManager )
103 
104  class Private;
105  friend class Private;
106  Private * const d;
107 };
108 
109 }
110 
111 #endif
QStandardItemModel
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
QStringList
Marble::GeoSceneDocument
A container for features parsed from the DGML file.
Definition: GeoSceneDocument.h:44
Marble::MapThemeManager
The class that handles map themes that are locally available .
Definition: MapThemeManager.h:48
marble_export.h
QStandardItem
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