File indexing completed on 2024-06-23 03:50:27

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2012 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 
0007 #ifndef MARBLE_MAPQUESTPLUGIN_H
0008 #define MARBLE_MAPQUESTPLUGIN_H
0009 
0010 #include "RoutingRunnerPlugin.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class MapQuestPlugin : public RoutingRunnerPlugin
0016 {
0017     Q_OBJECT
0018     Q_PLUGIN_METADATA(IID "org.kde.marble.MapQuestPlugin")
0019     Q_INTERFACES( Marble::RoutingRunnerPlugin )
0020 
0021 public:
0022     explicit MapQuestPlugin( QObject *parent = nullptr );
0023 
0024     QString name() const override;
0025 
0026     QString guiString() const override;
0027 
0028     QString nameId() const override;
0029 
0030     QString version() const override;
0031 
0032     QString description() const override;
0033 
0034     QString copyrightYears() const override;
0035 
0036     QVector<PluginAuthor> pluginAuthors() const override;
0037 
0038     RoutingRunner *newRunner() const override;
0039 
0040     ConfigWidget* configWidget() override;
0041 
0042     bool supportsTemplate( RoutingProfilesModel::ProfileTemplate profileTemplate ) const override;
0043     QHash<QString, QVariant> templateSettings( RoutingProfilesModel::ProfileTemplate profileTemplate ) const override;
0044 
0045 };
0046 
0047 }
0048 
0049 #endif