File indexing completed on 2024-04-28 15:39:08
0001 // SPDX-FileCopyrightText: 2020 Tobias Leupold <tl at stonemx dot de> 0002 // 0003 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 #ifndef RETRYSKIPABORTDIALOG_H 0006 #define RETRYSKIPABORTDIALOG_H 0007 0008 // Qt includes 0009 #include <QMessageBox> 0010 0011 class RetrySkipAbortDialog : public QMessageBox 0012 { 0013 Q_OBJECT 0014 0015 public: 0016 enum Reply { 0017 Retry, 0018 Skip, 0019 Abort 0020 }; 0021 0022 explicit RetrySkipAbortDialog(QWidget *parent, const QString &title, const QString &text, 0023 bool isSingleFile); 0024 int exec() override; 0025 0026 }; 0027 0028 #endif // RETRYSKIPABORTDIALOG_H