1 | /* |
2 | This file is part of the KDE libraries |
3 | SPDX-FileCopyrightText: 2000 David Faure <faure@kde.org> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.0-only |
6 | */ |
7 | |
8 | #ifndef KIO_SKIPDIALOG_H |
9 | #define KIO_SKIPDIALOG_H |
10 | |
11 | #include "kiowidgets_export.h" |
12 | #include <QDialog> |
13 | #include <kio/jobuidelegateextension.h> |
14 | |
15 | class QWidget; |
16 | |
17 | namespace KIO |
18 | { |
19 | class SkipDialogPrivate; |
20 | /** |
21 | * @internal |
22 | */ |
23 | class KIOWIDGETS_EXPORT SkipDialog : public QDialog |
24 | { |
25 | Q_OBJECT |
26 | public: |
27 | SkipDialog(QWidget *parent, KIO::SkipDialog_Options options, const QString &_error_text); |
28 | ~SkipDialog() override; |
29 | |
30 | private Q_SLOTS: |
31 | KIOWIDGETS_NO_EXPORT void cancelPressed(); |
32 | KIOWIDGETS_NO_EXPORT void skipPressed(); |
33 | KIOWIDGETS_NO_EXPORT void autoSkipPressed(); |
34 | KIOWIDGETS_NO_EXPORT void retryPressed(); |
35 | |
36 | private: |
37 | SkipDialogPrivate *const d; |
38 | }; |
39 | |
40 | } |
41 | #endif |
42 | |