File indexing completed on 2025-01-19 04:46:31

0001 /*
0002    SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "vcardimportexportplugin.h"
0008 #include "vcardimportexportplugininterface.h"
0009 #include <KPluginFactory>
0010 
0011 K_PLUGIN_CLASS_WITH_JSON(VCardImportExportPlugin, "kaddressbook_importexportvcardplugin.json")
0012 VCardImportExportPlugin::VCardImportExportPlugin(QObject *parent, const QList<QVariant> &)
0013     : KAddressBookImportExport::Plugin(parent)
0014 {
0015 }
0016 
0017 VCardImportExportPlugin::~VCardImportExportPlugin() = default;
0018 
0019 PimCommon::AbstractGenericPluginInterface *VCardImportExportPlugin::createInterface(QObject *parent)
0020 {
0021     return new VCardImportExportPluginInterface(parent);
0022 }
0023 
0024 bool VCardImportExportPlugin::hasPopupMenuSupport() const
0025 {
0026     return true;
0027 }
0028 
0029 #include "vcardimportexportplugin.moc"
0030 
0031 #include "moc_vcardimportexportplugin.cpp"