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

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2015 Constantin Mihalache <mihalache.c94@gmail.com>
0004 //
0005 
0006 #include "OpenLocationCodeSearchPlugin.h"
0007 #include "OpenLocationCodeSearchRunner.h"
0008 
0009 namespace Marble {
0010 
0011 OpenLocationCodeSearchPlugin::OpenLocationCodeSearchPlugin( QObject *parent ):
0012     SearchRunnerPlugin( parent )
0013 {
0014 
0015 }
0016 
0017 QString OpenLocationCodeSearchPlugin::name() const
0018 {
0019     return tr( "Open Location Code Search" );
0020 }
0021 
0022 QString OpenLocationCodeSearchPlugin::guiString() const
0023 {
0024     return tr( "Open Location Code" );
0025 }
0026 
0027 QString OpenLocationCodeSearchPlugin::nameId() const
0028 {
0029     return QStringLiteral("openlocation-code-search");
0030 }
0031 
0032 QString OpenLocationCodeSearchPlugin::version() const
0033 {
0034     return QStringLiteral("1.0");
0035 }
0036 
0037 QString OpenLocationCodeSearchPlugin::description() const
0038 {
0039     return tr( "Decodes an Open Location Code and creates a placemark with the respective coordinates" );
0040 }
0041 
0042 QString OpenLocationCodeSearchPlugin::copyrightYears() const
0043 {
0044     return QStringLiteral("2015");
0045 }
0046 
0047 QVector<PluginAuthor> OpenLocationCodeSearchPlugin::pluginAuthors() const
0048 {
0049     return QVector<PluginAuthor>()
0050             << PluginAuthor(QStringLiteral("Constantin Mihalache"), QStringLiteral("mihalache.c94@gmail.com"));
0051 }
0052 
0053 SearchRunner* OpenLocationCodeSearchPlugin::newRunner() const
0054 {
0055     return new OpenLocationCodeSearchRunner;
0056 }
0057 
0058 }
0059 
0060 #include "moc_OpenLocationCodeSearchPlugin.cpp"