File indexing completed on 2025-01-19 04:46:39
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 "isgdshorturlengineplugin.h" 0008 #include "isgdshorturlengineinterface.h" 0009 #include <KPluginFactory> 0010 0011 K_PLUGIN_CLASS_WITH_JSON(IsgdShortUrlEnginePlugin, "pimcommon_isgdshorturlengineplugin.json") 0012 0013 IsgdShortUrlEnginePlugin::IsgdShortUrlEnginePlugin(QObject *parent, const QList<QVariant> &) 0014 : ShortUrlEnginePlugin(parent) 0015 { 0016 } 0017 0018 IsgdShortUrlEnginePlugin::~IsgdShortUrlEnginePlugin() = default; 0019 0020 ShortUrlEngineInterface *IsgdShortUrlEnginePlugin::createInterface(QObject *parent) 0021 { 0022 return new IsgdShortUrlEngineInterface(this, parent); 0023 } 0024 0025 QString IsgdShortUrlEnginePlugin::engineName() const 0026 { 0027 return QStringLiteral("isdgshorturl"); 0028 } 0029 0030 #include "isgdshorturlengineplugin.moc" 0031 0032 #include "moc_isgdshorturlengineplugin.cpp"