KIO

skipdialog.h
1 /*
2  This file is part of the KDE libraries
3  SPDX-FileCopyrightText: 2000 David Faure <[email protected]>
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  void cancelPressed();
32  void skipPressed();
33  void autoSkipPressed();
34  void retryPressed();
35 
36 Q_SIGNALS:
37 #if KIOWIDGETS_ENABLE_DEPRECATED_SINCE(5, 79)
38  /**
39  * This signal is overloaded in this class.
40  *
41  * @deprecated since 5.79, Use QDialog::finished(int result)
42  */
43  KIOWIDGETS_DEPRECATED_VERSION(5, 79, "Use QDialog::finished(int result)")
44  void result(SkipDialog *_this, int _button); // clazy:exclude=fully-qualified-moc-types,overloaded-signal
45 #endif
46 
47 private:
48  SkipDialogPrivate *const d;
49 };
50 
51 }
52 #endif
A namespace for KIO globals.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 03:49:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.