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

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