marble
OpenRouteServicePlugin.cpp
Go to the documentation of this file.
85 ui_configWidget->preference->addItem( tr( "Bicycle (preferred Cycleway/-route)" ), "BicycleRoute" );
98 ui_configWidget->noMotorways->setCheckState( static_cast<Qt::CheckState>( settings.value( "noMotorways" ).toInt() ) );
99 ui_configWidget->noTollways->setCheckState( static_cast<Qt::CheckState>( settings.value( "noTollways" ).toInt() ) );
121 bool OpenRouteServicePlugin::supportsTemplate( RoutingProfilesModel::ProfileTemplate profileTemplate ) const
131 QHash< QString, QVariant > OpenRouteServicePlugin::templateSettings( RoutingProfilesModel::ProfileTemplate profileTemplate ) const
iterator insert(const Key &key, const T &value)
QString copyrightYears() const
Definition: OpenRouteServicePlugin.cpp:52
Definition: PluginInterface.h:28
virtual QHash< QString, QVariant > templateSettings(RoutingProfilesModel::ProfileTemplate profileTemplate) const
Settings for the given routing profile template.
Definition: OpenRouteServicePlugin.cpp:131
OpenRouteServicePlugin(QObject *parent=0)
Definition: OpenRouteServicePlugin.cpp:19
QString nameId() const
Returns the unique name of the plugin.
Definition: OpenRouteServicePlugin.cpp:37
const_iterator insert(const T &value)
QString tr(const char *sourceText, const char *disambiguation, int n)
QString fromUtf8(const char *str, int size)
QString version() const
Definition: OpenRouteServicePlugin.cpp:42
ConfigWidget * configWidget()
Method for getting a pointer to the configuration widget of the plugin.
Definition: OpenRouteServicePlugin.cpp:115
QString name() const
Returns the user-visible name of the plugin.
Definition: OpenRouteServicePlugin.cpp:27
QString description() const
Returns a user description of the plugin.
Definition: OpenRouteServicePlugin.cpp:47
const T value(const Key &key) const
bool contains(const T &value) const
void setSupportedCelestialBodies(const QStringList &celestialBodies)
Definition: RoutingRunnerPlugin.cpp:61
void setCanWorkOffline(bool canWorkOffline)
Definition: RoutingRunnerPlugin.cpp:66
Definition: RoutingRunner.h:28
A plugin for Marble to execute a routing task.
Definition: RoutingRunnerPlugin.h:33
void setStatusMessage(const QString &message)
Definition: RoutingRunnerPlugin.cpp:101
QString guiString() const
Returns the string that should appear in the user interface.
Definition: OpenRouteServicePlugin.cpp:32
virtual bool supportsTemplate(RoutingProfilesModel::ProfileTemplate profileTemplate) const
True if the plugin supports the given routing profile template.
Definition: OpenRouteServicePlugin.cpp:121
bool contains(const Key &key) const
virtual RoutingRunner * newRunner() const
Plugin factory method to create a new runner instance.
Definition: OpenRouteServicePlugin.cpp:63
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
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.