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 "ur1cashorturlengineplugin.h" 0008 #include "ur1cashorturlengineinterface.h" 0009 #include <KPluginFactory> 0010 0011 K_PLUGIN_FACTORY_WITH_JSON(Ur1CaShortUrlEnginePluginFactory, "pimcommon_ur1cashorturlengineplugin.json", registerPlugin<Ur1CaShortUrlEnginePlugin>();) 0012 0013 Ur1CaShortUrlEnginePlugin::Ur1CaShortUrlEnginePlugin(QObject *parent, const QList<QVariant> &) 0014 : ShortUrlEnginePlugin(parent) 0015 { 0016 } 0017 0018 Ur1CaShortUrlEnginePlugin::~Ur1CaShortUrlEnginePlugin() 0019 { 0020 } 0021 0022 ShortUrlEngineInterface *Ur1CaShortUrlEnginePlugin::createInterface(QObject *parent) 0023 { 0024 return new Ur1CaShortUrlEngineInterface(this, parent); 0025 } 0026 0027 QString Ur1CaShortUrlEnginePlugin::engineName() const 0028 { 0029 return QStringLiteral("urlcashorturl"); 0030 } 0031 0032 #include "ur1cashorturlengineplugin.moc" 0033 0034 #include "moc_ur1cashorturlengineplugin.cpp"