File indexing completed on 2023-05-30 09:09:59

0001 #ifndef KJSERRORDLG_H
0002 #define KJSERRORDLG_H
0003 
0004 #include <QDialog>
0005 
0006 #include "ui_kjserrordlgbase.h"
0007 
0008 class KJSErrorDlg : public QDialog, public Ui_KJSErrorDlgBase
0009 {
0010     Q_OBJECT
0011 public:
0012     KJSErrorDlg(QWidget *parent = nullptr);
0013 
0014     void addError(const QString &error);
0015     void setURL(const QString &url);
0016 protected Q_SLOTS:
0017     void clear();
0018 private:
0019     void init();
0020 };
0021 
0022 #endif