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 
0009 #include "confirmbeforedeleting_private_export.h"
0010 #include "confirmbeforedeletingcreaterulewidget.h"
0011 #include <QDialog>
0012 class KMAILCONFIRMBEFOREDELETING_TESTS_EXPORT ConfirmBeforeDeletingCreateRuleDialog : public QDialog
0013 {
0014     Q_OBJECT
0015 public:
0016     explicit ConfirmBeforeDeletingCreateRuleDialog(QWidget *parent = nullptr);
0017     ~ConfirmBeforeDeletingCreateRuleDialog() override;
0018 
0019     [[nodiscard]] ConfirmBeforeDeletingCreateRuleWidget::ConfirmBeforeDeletingInfo info() const;
0020 
0021     void setInfo(const ConfirmBeforeDeletingCreateRuleWidget::ConfirmBeforeDeletingInfo &info);
0022 
0023 private:
0024     ConfirmBeforeDeletingCreateRuleWidget *const mConfirmBeforeDeletingCreateRuleWidget;
0025 };