confirmbeforedeletinginterface.h 513 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1
2
3
4
5
6
7
8
/*
   SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#pragma once

9
#include <MessageViewer/MessageViewerCheckBeforeDeletingInterface>
Laurent Montel's avatar
Laurent Montel committed
10
11
#include <QObject>

12
class ConfirmBeforeDeletingInterface : public MessageViewer::MessageViewerCheckBeforeDeletingInterface
Laurent Montel's avatar
Laurent Montel committed
13
14
15
16
17
{
    Q_OBJECT
public:
    explicit ConfirmBeforeDeletingInterface(QObject *parent = nullptr);
    ~ConfirmBeforeDeletingInterface() override;
Laurent Montel's avatar
Laurent Montel committed
18
19

    Q_REQUIRED_RESULT bool exec() override;
Laurent Montel's avatar
Laurent Montel committed
20
};