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 #pragma once
0007 
0008 #include "kmailconfirmbeforedeleting_export.h"
0009 #include <QDialog>
0010 class ConfirmBeforeDeletingMessageBoxWidget;
0011 class KMAILCONFIRMBEFOREDELETING_EXPORT ConfirmBeforeDeletingMessageBoxDialog : public QDialog
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit ConfirmBeforeDeletingMessageBoxDialog(QWidget *parent = nullptr);
0016     ~ConfirmBeforeDeletingMessageBoxDialog() override;
0017     void setInfo(const QString &str);
0018 
0019     [[nodiscard]] bool useSameResult() const;
0020 
0021 private:
0022     ConfirmBeforeDeletingMessageBoxWidget *const mConfirmBeforeDeletingWidget;
0023 };