1 #include "kjserrordlg.h"
2 #include "kjserrordlg.moc"
4 KJSErrorDlg::KJSErrorDlg( QWidget
*parent
)
8 connect(_clear
,SIGNAL(clicked()),this,SLOT(clear()));
9 connect(_close
,SIGNAL(clicked()),this,SLOT(hide()));
13 void KJSErrorDlg::addError( const QString
& error
)
15 _errorText
->append(error
);
18 void KJSErrorDlg::setURL( const QString
& url
)
23 void KJSErrorDlg::clear()
29 void KJSErrorDlg::init()
31 _errorText
->setAcceptRichText(false);