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 QPushButton;
00022 class QFrame;
00023 class QTextBrowser;
00024 class KActiveLabel;
00025
00026 class KJSErrorDlg : public QDialog
00027 {
00028 Q_OBJECT
00029
00030 public:
00031 KJSErrorDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00032 ~KJSErrorDlg();
00033
00034 QPushButton* _close;
00035 QPushButton* _clear;
00036 QFrame* line1;
00037 QTextBrowser* _errorText;
00038 KActiveLabel* _url;
00039
00040 public slots:
00041 virtual void init();
00042 virtual void addError( const QString & error );
00043 virtual void setURL( const QString & url );
00044 virtual void clear();
00045
00046 protected:
00047 QGridLayout* KJSErrorDlgLayout;
00048
00049 protected slots:
00050 virtual void languageChange();
00051
00052 };
00053
00054 #endif // KJSERRORDLG_H
This file is part of the documentation for khtml Library Version 3.2.3.