KDE PIM support for the p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

SPDX-FileCopyrightText: 2017-2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "pepcomposerviewbase.h"
#include <MessageComposer/ConvertSnippetVariablesJob>
#include <MessageComposer/PluginComposerInterface>
#include <MessageComposer/MessageComposerSettings>
#include <MessageComposer/PluginEditorInterface>
#include <MailTransport/Transport>
#include <editor/kmcomposerwin.h>
class pEpComposerPluginEditorInterface : public MessageComposer::PluginEditorInterface
explicit pEpComposerPluginEditorInterface(QObject *parent = nullptr);
~pEpComposerPluginEditorInterface() override;
void createAction(KActionCollection *ac) override;
void exec() override;
void reloadConfig();
public Q_SLOTS:
void slotSendNow();
private Q_SLOTS:
void slotSendNowByShortcut();
void slotSendLater();
void slotSendNowVia(MailTransport::Transport *transport);
void slotSendLaterVia(MailTransport::Transport *transport);
void slotActivated();
void prepareMessage();
bool mEnabled = false;