#ifndef KJSERRORDLG_H
#define KJSERRORDLG_H

#include <QtGui/QDialog>

#include "ui_kjserrordlgbase.h"

class KJSErrorDlg : public QDialog, public Ui_KJSErrorDlgBase
{
  Q_OBJECT
  public:
    KJSErrorDlg( QWidget *parent = 0 );

    void addError( const QString &error );
    void setURL( const QString &url );
  protected Q_SLOTS:
    void clear();
  private:
    void init();
};

#endif
