File indexing completed on 2024-11-17 04:44:13
0001 /* 0002 SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <MessageComposer/PluginEditorInitInterface> 0010 0011 class ExternalComposerPluginEditorInterface : public MessageComposer::PluginEditorInitInterface 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit ExternalComposerPluginEditorInterface(QObject *parent = nullptr); 0016 ~ExternalComposerPluginEditorInterface() override; 0017 [[nodiscard]] bool exec() override; 0018 0019 void reloadConfig() override; 0020 0021 private: 0022 QString mExternalComposerPath; 0023 bool mEnabled = false; 0024 };