File indexing completed on 2025-01-05 04:49:30
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 "zoomtextplugineditor.h" 0008 #include "zoomtextplugineditorinterface.h" 0009 #include <KPluginFactory> 0010 0011 K_PLUGIN_CLASS_WITH_JSON(ZoomTextPluginEditor, "kmail_zoomtexteditorplugin.json") 0012 0013 ZoomTextPluginEditor::ZoomTextPluginEditor(QObject *parent, const QList<QVariant> &) 0014 : MessageComposer::PluginEditor(parent) 0015 { 0016 } 0017 0018 ZoomTextPluginEditor::~ZoomTextPluginEditor() = default; 0019 0020 MessageComposer::PluginEditorInterface *ZoomTextPluginEditor::createInterface(QObject *parent) 0021 { 0022 auto interface = new ZoomTextPluginEditorInterface(parent); 0023 return interface; 0024 } 0025 0026 bool ZoomTextPluginEditor::hasPopupMenuSupport() const 0027 { 0028 return true; 0029 } 0030 0031 bool ZoomTextPluginEditor::hasStatusBarSupport() const 0032 { 0033 return true; 0034 } 0035 0036 #include "zoomtextplugineditor.moc" 0037 0038 #include "moc_zoomtextplugineditor.cpp"