File indexing completed on 2024-07-21 06:33:35

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 #include "LatLonPlugin.h"
0007 #include "LatLonRunner.h"
0008 
0009 namespace Marble
0010 {
0011 
0012 LatLonPlugin::LatLonPlugin( QObject *parent ) :
0013     SearchRunnerPlugin( parent )
0014 {
0015 }
0016 
0017 QString LatLonPlugin::name() const
0018 {
0019     return tr( "Geographic Coordinates Search" );
0020 }
0021 
0022 QString LatLonPlugin::guiString() const
0023 {
0024     return tr( "Geographic Coordinates" );
0025 }
0026 
0027 QString LatLonPlugin::nameId() const
0028 {
0029     return QStringLiteral("latlon");
0030 }
0031 
0032 QString LatLonPlugin::version() const
0033 {
0034     return QStringLiteral("1.0");
0035 }
0036 
0037 QString LatLonPlugin::description() const
0038 {
0039     return tr( "Direct input of geographic coordinates" );
0040 }
0041 
0042 QString LatLonPlugin::copyrightYears() const
0043 {
0044     return QStringLiteral("2010");
0045 }
0046 
0047 QVector<PluginAuthor> LatLonPlugin::pluginAuthors() const
0048 {
0049     return QVector<PluginAuthor>()
0050             << PluginAuthor(QStringLiteral("Dennis Nienhüser"), QStringLiteral("nienhueser@kde.org"));
0051 }
0052 
0053 SearchRunner* LatLonPlugin::newRunner() const
0054 {
0055     return new LatLonRunner;
0056 }
0057 
0058 }
0059 
0060 #include "moc_LatLonPlugin.cpp"