• 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
  • plugins
  • runner
  • openrouteservice
OpenRouteServicePlugin.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 //
10 
11 
12 #ifndef MARBLE_OPENROUTESERVICEPLUGIN_H
13 #define MARBLE_OPENROUTESERVICEPLUGIN_H
14 
15 #include "RoutingRunnerPlugin.h"
16 
17 namespace Marble
18 {
19 
20 class OpenRouteServicePlugin : public RoutingRunnerPlugin
21 {
22  Q_OBJECT
23  Q_PLUGIN_METADATA( IID "org.kde.edu.marble.OpenRouteServicePlugin" )
24  Q_INTERFACES( Marble::RoutingRunnerPlugin )
25 
26 public:
27  explicit OpenRouteServicePlugin( QObject *parent = 0 );
28 
29  QString name() const;
30 
31  QString guiString() const;
32 
33  QString nameId() const;
34 
35  QString version() const;
36 
37  QString description() const;
38 
39  QString copyrightYears() const;
40 
41  QList<PluginAuthor> pluginAuthors() const;
42 
43  virtual RoutingRunner *newRunner() const;
44 
45  ConfigWidget* configWidget();
46 
47  virtual bool supportsTemplate( RoutingProfilesModel::ProfileTemplate profileTemplate ) const;
48  virtual QHash<QString, QVariant> templateSettings( RoutingProfilesModel::ProfileTemplate profileTemplate ) const;
49 
50 };
51 
52 }
53 
54 #endif
Marble::OpenRouteServicePlugin::copyrightYears
QString copyrightYears() const
Definition: OpenRouteServicePlugin.cpp:52
Marble::OpenRouteServicePlugin::templateSettings
virtual QHash< QString, QVariant > templateSettings(RoutingProfilesModel::ProfileTemplate profileTemplate) const
Settings for the given routing profile template.
Definition: OpenRouteServicePlugin.cpp:131
Marble::OpenRouteServicePlugin::OpenRouteServicePlugin
OpenRouteServicePlugin(QObject *parent=0)
Definition: OpenRouteServicePlugin.cpp:19
Marble::OpenRouteServicePlugin::nameId
QString nameId() const
Returns the unique name of the plugin.
Definition: OpenRouteServicePlugin.cpp:37
Marble::RoutingRunnerPlugin::ConfigWidget
Definition: RoutingRunnerPlugin.h:77
Marble::OpenRouteServicePlugin::version
QString version() const
Definition: OpenRouteServicePlugin.cpp:42
Marble::OpenRouteServicePlugin
Definition: OpenRouteServicePlugin.h:20
Marble::OpenRouteServicePlugin::configWidget
ConfigWidget * configWidget()
Method for getting a pointer to the configuration widget of the plugin.
Definition: OpenRouteServicePlugin.cpp:115
RoutingRunnerPlugin.h
QHash< QString, QVariant >
QObject
Marble::OpenRouteServicePlugin::name
QString name() const
Returns the user-visible name of the plugin.
Definition: OpenRouteServicePlugin.cpp:27
QString
QList
Marble::OpenRouteServicePlugin::description
QString description() const
Returns a user description of the plugin.
Definition: OpenRouteServicePlugin.cpp:47
Marble::RoutingProfilesModel::ProfileTemplate
ProfileTemplate
Definition: RoutingProfilesModel.h:35
Marble::RoutingRunner
Definition: RoutingRunner.h:28
Marble::RoutingRunnerPlugin
A plugin for Marble to execute a routing task.
Definition: RoutingRunnerPlugin.h:33
Marble::OpenRouteServicePlugin::guiString
QString guiString() const
Returns the string that should appear in the user interface.
Definition: OpenRouteServicePlugin.cpp:32
Marble::OpenRouteServicePlugin::supportsTemplate
virtual bool supportsTemplate(RoutingProfilesModel::ProfileTemplate profileTemplate) const
True if the plugin supports the given routing profile template.
Definition: OpenRouteServicePlugin.cpp:121
QObject::parent
QObject * parent() const
Marble::OpenRouteServicePlugin::newRunner
virtual RoutingRunner * newRunner() const
Plugin factory method to create a new runner instance.
Definition: OpenRouteServicePlugin.cpp:63
Marble::OpenRouteServicePlugin::pluginAuthors
QList< PluginAuthor > pluginAuthors() const
Definition: OpenRouteServicePlugin.cpp:57
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