File indexing completed on 2024-04-28 03:50:29

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2016 Friedrich W. H. Kossebau <kossebau@kde.org>
0004 //
0005 
0006 #include "GeoUriPlugin.h"
0007 
0008 #include "GeoUriRunner.h"
0009 
0010 namespace Marble
0011 {
0012 
0013 GeoUriPlugin::GeoUriPlugin(QObject *parent)
0014     : SearchRunnerPlugin(parent)
0015 {
0016 }
0017 
0018 QString GeoUriPlugin::name() const
0019 {
0020     return tr("Geo URI Search");
0021 }
0022 
0023 QString GeoUriPlugin::guiString() const
0024 {
0025     return tr("Geo URI");
0026 }
0027 
0028 QString GeoUriPlugin::nameId() const
0029 {
0030     return QStringLiteral("geouri");
0031 }
0032 
0033 QString GeoUriPlugin::version() const
0034 {
0035     return QStringLiteral("1.0");
0036 }
0037 
0038 QString GeoUriPlugin::description() const
0039 {
0040     return tr("Input of geographic coordinates by the geo URI scheme");
0041 }
0042 
0043 QString GeoUriPlugin::copyrightYears() const
0044 {
0045     return QStringLiteral("2016");
0046 }
0047 
0048 QVector<PluginAuthor> GeoUriPlugin::pluginAuthors() const
0049 {
0050     return QVector<PluginAuthor>()
0051             << PluginAuthor(QStringLiteral("Friedrich W. H. Kossebau"), QStringLiteral("kossebau@kde.org"));
0052 }
0053 
0054 SearchRunner* GeoUriPlugin::newRunner() const
0055 {
0056     return new GeoUriRunner;
0057 }
0058 
0059 }
0060 
0061 #include "moc_GeoUriPlugin.cpp"