fix logic
[personal-kdelibs.git] / khtml / kjserrordlg.h
blob06da44ab58b5ec6e84dece1645dd63219669592c
1 #ifndef KJSERRORDLG_H
2 #define KJSERRORDLG_H
4 #include <QtGui/QDialog>
6 #include "ui_kjserrordlgbase.h"
8 class KJSErrorDlg : public QDialog, public Ui_KJSErrorDlgBase
10 Q_OBJECT
11 public:
12 KJSErrorDlg( QWidget *parent = 0 );
14 void addError( const QString &error );
15 void setURL( const QString &url );
16 protected Q_SLOTS:
17 void clear();
18 private:
19 void init();
22 #endif