• 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
ParsingRunnerManager.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 2008 Henry de Valence <hdevalence@gmail.com>
9 // Copyright 2010 Dennis Nienhüser <earthwings@gentoo.org>
10 // Copyright 2010-2013 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
11 // Copyright 2011 Thibaut Gridel <tgridel@free.fr>
12 
13 #ifndef MARBLE_PARSINGRUNNERMANAGER_H
14 #define MARBLE_PARSINGRUNNERMANAGER_H
15 
16 #include <QObject>
17 
18 #include "marble_export.h"
19 
20 #include "GeoDataDocument.h"
21 
22 class QAbstractItemModel;
23 
24 namespace Marble
25 {
26 
27 class MarbleModel;
28 class PluginManager;
29 class ParsingTask;
30 
31 class MARBLE_EXPORT ParsingRunnerManager : public QObject
32 {
33  Q_OBJECT
34 
35 public:
41  explicit ParsingRunnerManager( const PluginManager *pluginManager, QObject *parent = 0 );
42 
43  ~ParsingRunnerManager();
44 
52  void parseFile( const QString &fileName, DocumentRole role = UserDocument );
53  GeoDataDocument *openFile( const QString &fileName, DocumentRole role = UserDocument, int timeout = 30000 );
54 
55 Q_SIGNALS:
59  void parsingFinished( GeoDataDocument *document, const QString &error = QString() );
60 
64  void parsingFinished();
65 
66 private:
67  Q_PRIVATE_SLOT( d, void addParsingResult( GeoDataDocument *document, const QString &error = QString() ) )
68  Q_PRIVATE_SLOT( d, void cleanupParsingTask( ParsingTask *task ) )
69 
70  class Private;
71  friend class Private;
72  Private *const d;
73 };
74 
75 }
76 
77 #endif
GeoDataDocument.h
Marble::PluginManager
The class that handles Marble's plugins.
Definition: PluginManager.h:45
Marble::GeoDataDocument
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
Marble::ParsingRunnerManager
Definition: ParsingRunnerManager.h:31
Marble::ParsingTask
A RunnerTask that executes a file Parsing.
Definition: RunnerTask.h:101
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::UserDocument
Definition: GeoDataDocument.h:42
QString
marble_export.h
QAbstractItemModel
Marble::DocumentRole
DocumentRole
Definition: GeoDataDocument.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: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