File indexing completed on 2025-01-05 04:49:29

0001 /*
0002    SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "sharetextplugineditor.h"
0008 #include "sharetextplugineditorinterface.h"
0009 #include <KPluginFactory>
0010 
0011 K_PLUGIN_CLASS_WITH_JSON(ShareTextPluginEditor, "kmail_sharetexteditorplugin.json")
0012 
0013 ShareTextPluginEditor::ShareTextPluginEditor(QObject *parent, const QList<QVariant> &)
0014     : MessageComposer::PluginEditor(parent)
0015 {
0016 }
0017 
0018 ShareTextPluginEditor::~ShareTextPluginEditor() = default;
0019 
0020 bool ShareTextPluginEditor::hasPopupMenuSupport() const
0021 {
0022     return false;
0023 }
0024 
0025 MessageComposer::PluginEditorInterface *ShareTextPluginEditor::createInterface(QObject *parent)
0026 {
0027     return new ShareTextPluginEditorInterface(parent);
0028 }
0029 
0030 #include "sharetextplugineditor.moc"
0031 
0032 #include "moc_sharetextplugineditor.cpp"