File indexing completed on 2025-01-05 05:14:39

0001 /*
0002 SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ui_closeeventdialog.h"
0010 
0011 class CloseEventDialog : public QDialog, private Ui::CloseEventDialog
0012 {
0013     Q_OBJECT
0014 
0015 public:
0016     enum ReturnType { LeaveAsIs = QDialog::Rejected, MarkAsResolved = QDialog::Accepted, DontExit };
0017     explicit CloseEventDialog(QWidget *parent = nullptr);
0018 private slots:
0019     void slotCommandLinkButtonMarkResolvedClicked();
0020     void slotCommandLinkButtonLeaveAsIsClicked();
0021     void slotCommandLinkButtonDontExitClicked();
0022 };