• 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
ParseRunnerPlugin.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 2010 Dennis Nienhüser <earthwings@gentoo.org>
9 // Copyright 2011 Thibaut Gridel <tgridel@free.fr>
10 // Copyright 2012 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
11 //
12 
13 #ifndef MARBLE_PARSERUNNERPLUGIN_H
14 #define MARBLE_PARSERUNNERPLUGIN_H
15 
16 #include <QObject>
17 #include "PluginInterface.h"
18 
19 namespace Marble
20 {
21 
22 class ParsingRunner;
23 
27 class MARBLE_EXPORT ParseRunnerPlugin : public QObject, public PluginInterface
28 {
29  Q_OBJECT
30 
31 public:
33  explicit ParseRunnerPlugin( QObject* parent = 0 );
34 
36  virtual ~ParseRunnerPlugin();
37 
43  virtual QString fileFormatDescription() const = 0;
44 
50  virtual QStringList fileExtensions() const = 0;
51 
55  virtual ParsingRunner *newRunner() const = 0;
56 
57  // Overridden methods with default implementations
58 
59  virtual QIcon icon() const;
60 
61 private:
62  class Private;
63  Private *const d;
64 };
65 
66 }
67 
68 Q_DECLARE_INTERFACE( Marble::ParseRunnerPlugin, "org.kde.Marble.ParseRunnerPlugin/1.01" )
69 
70 #endif // MARBLE_PARSERUNNERPLUGIN_H
PluginInterface.h
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
Marble::PluginInterface
This class specifies interface of a Marble plugin.
Definition: PluginInterface.h:45
Marble::ParsingRunner
Definition: ParsingRunner.h:23
QStringList
Marble::ParseRunnerPlugin
A plugin for Marble to execute a parsing task.
Definition: ParseRunnerPlugin.h:27
QIcon
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