1 | #ifndef KJSERRORDLG_H |
---|---|
2 | #define KJSERRORDLG_H |
3 | |
4 | #include <QtGui/QDialog> |
5 | |
6 | #include "ui_kjserrordlgbase.h" |
7 | |
8 | class KJSErrorDlg : public QDialog, public Ui_KJSErrorDlgBase |
9 | { |
10 | Q_OBJECT |
11 | public: |
12 | KJSErrorDlg( QWidget *parent = 0 ); |
13 | |
14 | void addError( const QString &error ); |
15 | void setURL( const QString &url ); |
16 | protected Q_SLOTS: |
17 | void clear(); |
18 | private: |
19 | void init(); |
20 | }; |
21 | |
22 | #endif |
23 |