File indexing completed on 2025-01-05 04:49:27
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/PluginEditorInterface> 0010 #include <QPointer> 0011 class SelectMailDialog; 0012 class InsertEmailPluginEditorInterface : public MessageComposer::PluginEditorInterface 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit InsertEmailPluginEditorInterface(QObject *parent = nullptr); 0017 ~InsertEmailPluginEditorInterface() override; 0018 0019 void createAction(KActionCollection *ac) override; 0020 void exec() override; 0021 0022 private: 0023 void slotEmailSelected(const QStringList &lst); 0024 void slotActivated(); 0025 QPointer<SelectMailDialog> mSelectMailDialog; 0026 };