File indexing completed on 2025-01-19 12:41:19
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org> 0004 // 0005 0006 #include "LocalDatabasePlugin.h" 0007 #include "LocalDatabaseRunner.h" 0008 0009 namespace Marble 0010 { 0011 0012 LocalDatabasePlugin::LocalDatabasePlugin( QObject *parent ) : 0013 SearchRunnerPlugin( parent ) 0014 { 0015 } 0016 0017 QString LocalDatabasePlugin::name() const 0018 { 0019 return tr( "Local Database Search" ); 0020 } 0021 0022 QString LocalDatabasePlugin::guiString() const 0023 { 0024 return tr( "Local Database" ); 0025 } 0026 0027 QString LocalDatabasePlugin::nameId() const 0028 { 0029 return QStringLiteral("localdatabase"); 0030 } 0031 0032 QString LocalDatabasePlugin::version() const 0033 { 0034 return QStringLiteral("1.0"); 0035 } 0036 0037 QString LocalDatabasePlugin::description() const 0038 { 0039 return tr( "Searches the internal Marble database for placemarks" ); 0040 } 0041 0042 QString LocalDatabasePlugin::copyrightYears() const 0043 { 0044 return QStringLiteral("2010"); 0045 } 0046 0047 QVector<PluginAuthor> LocalDatabasePlugin::pluginAuthors() const 0048 { 0049 return QVector<PluginAuthor>() 0050 << PluginAuthor(QStringLiteral("Dennis Nienhüser"), QStringLiteral("nienhueser@kde.org")); 0051 } 0052 0053 SearchRunner* LocalDatabasePlugin::newRunner() const 0054 { 0055 return new LocalDatabaseRunner; 0056 } 0057 0058 } 0059 0060 #include "moc_LocalDatabasePlugin.cpp"