/****************************************************************************
** Form interface generated from reading ui file '/usr/src/ports/kdelibs3/kdelibs3-3.5.10-11.i686/src/kdelibs-3.5.10/khtml/kjserrordlg.ui'
**
** Created by User Interface Compiler
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef KJSERRORDLG_H
#define KJSERRORDLG_H

#include <qvariant.h>
#include <qdialog.h>
#include <kdialog.h>
#include <ksqueezedtextlabel.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QPushButton;
class QFrame;
class QTextBrowser;
class KSqueezedTextLabel;

class KJSErrorDlg : public QDialog
{
    Q_OBJECT

public:
    KJSErrorDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~KJSErrorDlg();

    QPushButton* _close;
    QPushButton* _clear;
    QFrame* line1;
    QTextBrowser* _errorText;
    KSqueezedTextLabel* _url;

public slots:
    virtual void init();
    virtual void addError( const QString & error );
    virtual void setURL( const QString & url );
    virtual void clear();

protected:
    QGridLayout* KJSErrorDlgLayout;
    QSpacerItem* spacer1;

protected slots:
    virtual void languageChange();

};

#endif // KJSERRORDLG_H
