File indexing completed on 2024-11-24 04:43:06

0001 /*
0002    SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 #include <MessageViewer/MessageViewerCheckBeforeDeletingPlugin>
0009 #include <QVariant>
0010 
0011 class ConfirmBeforeDeletingPlugin : public MessageViewer::MessageViewerCheckBeforeDeletingPlugin
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit ConfirmBeforeDeletingPlugin(QObject *parent = nullptr, const QList<QVariant> & = {});
0016     ~ConfirmBeforeDeletingPlugin() override;
0017 
0018     void showConfigureDialog(QWidget *parent) override;
0019     [[nodiscard]] MessageViewer::MessageViewerCheckBeforeDeletingInterface *createInterface(QObject *parent) override;
0020 };