kjserrordlg.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
#ifndef KJSERRORDLG_H
00011
#define KJSERRORDLG_H
00012
00013
#include <qvariant.h>
00014
#include <qdialog.h>
00015
#include <kdialog.h>
00016
#include <kactivelabel.h>
00017
00018
class QVBoxLayout;
00019
class QHBoxLayout;
00020
class QGridLayout;
00021
class QSpacerItem;
00022
class QPushButton;
00023
class QFrame;
00024
class QTextBrowser;
00025
class KActiveLabel;
00026
00027
class KJSErrorDlg :
public QDialog
00028 {
00029 Q_OBJECT
00030
00031
public:
00032 KJSErrorDlg(
QWidget* parent = 0,
const char* name = 0,
bool modal = FALSE, WFlags fl = 0 );
00033 ~KJSErrorDlg();
00034
00035
QPushButton* _close;
00036
QPushButton* _clear;
00037
QFrame* line1;
00038
QTextBrowser* _errorText;
00039
KActiveLabel* _url;
00040
00041
public slots:
00042
virtual void init();
00043
virtual void addError(
const QString & error );
00044
virtual void setURL(
const QString & url );
00045
virtual void clear();
00046
00047
protected:
00048
QGridLayout* KJSErrorDlgLayout;
00049
QSpacerItem* spacer1;
00050
00051
protected slots:
00052
virtual void languageChange();
00053
00054 };
00055
00056
#endif // KJSERRORDLG_H
This file is part of the documentation for khtml Library Version 3.4.0.