File indexing completed on 2024-11-24 04:43:05
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 "sendmailplugin.h" 0008 #include "sendmailplugininterface.h" 0009 #include <KPluginFactory> 0010 0011 K_PLUGIN_CLASS_WITH_JSON(SendMailPlugin, "kaddressbook_sendmailplugin.json") 0012 0013 SendMailPlugin::SendMailPlugin(QObject *parent, const QList<QVariant> &) 0014 : PimCommon::GenericPlugin(parent) 0015 { 0016 } 0017 0018 SendMailPlugin::~SendMailPlugin() = default; 0019 0020 PimCommon::GenericPluginInterface *SendMailPlugin::createInterface(QObject *parent) 0021 { 0022 return new SendMailPluginInterface(parent); 0023 } 0024 0025 bool SendMailPlugin::hasPopupMenuSupport() const 0026 { 0027 return true; 0028 } 0029 0030 #include "sendmailplugin.moc" 0031 0032 #include "moc_sendmailplugin.cpp"