• 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
ReverseGeocodingRunnerPlugin.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_REVERSEGEOCODINGRUNNERPLUGIN_H
14 #define MARBLE_REVERSEGEOCODINGRUNNERPLUGIN_H
15 
16 #include <QObject>
17 #include "PluginInterface.h"
18 
19 namespace Marble
20 {
21 
22 class ReverseGeocodingRunner;
23 
27 class MARBLE_EXPORT ReverseGeocodingRunnerPlugin : public QObject, public PluginInterface
28 {
29  Q_OBJECT
30 
31 public:
33  explicit ReverseGeocodingRunnerPlugin( QObject* parent = 0 );
34 
36  virtual ~ReverseGeocodingRunnerPlugin();
37 
43  virtual QString guiString() const = 0;
44 
48  virtual ReverseGeocodingRunner *newRunner() const = 0;
49 
51  bool supportsCelestialBody( const QString &celestialBodyId ) const;
52 
54  bool canWorkOffline() const;
55 
62  virtual bool canWork() const;
63 
64  // Overridden methods with default implementations
65 
66  virtual QIcon icon() const;
67 
68 protected:
69  void setSupportedCelestialBodies( const QStringList &celestialBodies );
70 
71  void setCanWorkOffline( bool canWorkOffline );
72 
73 private:
74  class Private;
75  Private * const d;
76 };
77 
78 }
79 
80 Q_DECLARE_INTERFACE( Marble::ReverseGeocodingRunnerPlugin, "org.kde.Marble.ReverseGeocodingRunnerPlugin/1.01" )
81 
82 #endif // MARBLE_REVERSEGEOCODINGRUNNERPLUGIN_H
PluginInterface.h
Marble::ReverseGeocodingRunnerPlugin
A plugin for Marble to execute a reverse geocoding task.
Definition: ReverseGeocodingRunnerPlugin.h:27
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
QStringList
Marble::ReverseGeocodingRunner
Definition: ReverseGeocodingRunner.h:25
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