File indexing completed on 2025-01-05 04:49:28
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "triopabshorturlengineplugin.h" 0008 #include "triopabshorturlengineinterface.h" 0009 #include <KPluginFactory> 0010 0011 K_PLUGIN_FACTORY_WITH_JSON(TriopAbShortUrlEnginePluginFactory, "pimcommon_triopabshorturlengineplugin.json", registerPlugin<TriopAbShortUrlEnginePlugin>();) 0012 0013 TriopAbShortUrlEnginePlugin::TriopAbShortUrlEnginePlugin(QObject *parent, const QList<QVariant> &) 0014 : ShortUrlEnginePlugin(parent) 0015 { 0016 } 0017 0018 TriopAbShortUrlEnginePlugin::~TriopAbShortUrlEnginePlugin() 0019 { 0020 } 0021 0022 ShortUrlEngineInterface *TriopAbShortUrlEnginePlugin::createInterface(QObject *parent) 0023 { 0024 return new TripAbShortUrlEngineInterface(this, parent); 0025 } 0026 0027 QString TriopAbShortUrlEnginePlugin::engineName() const 0028 { 0029 return QStringLiteral("triopabshorturl"); 0030 } 0031 0032 #include "triopabshorturlengineplugin.moc" 0033 0034 #include "moc_triopabshorturlengineplugin.cpp"