File indexing completed on 2024-10-27 04:51:03

0001 /*
0002   SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-only
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QWidget>
0010 class KActionCollection;
0011 class ValidateSendMailShortcut
0012 {
0013 public:
0014     explicit ValidateSendMailShortcut(KActionCollection *actionCollection, QWidget *parent = nullptr);
0015     ~ValidateSendMailShortcut();
0016 
0017     [[nodiscard]] bool validate();
0018 
0019 private:
0020     QWidget *const mParent;
0021     KActionCollection *const mActionCollection;
0022 };