kjserrordlg.h
00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file './kjserrordlg.ui' 00003 ** 00004 ** Created by: The User Interface Compiler ($Id: qt/main.cpp 3.3.6 edited Aug 31 2005 $) 00005 ** 00006 ** WARNING! All changes made in this file will be lost! 00007 ****************************************************************************/ 00008 00009 #ifndef KJSERRORDLG_H 00010 #define KJSERRORDLG_H 00011 00012 #include <qvariant.h> 00013 #include <qdialog.h> 00014 #include <kdialog.h> 00015 #include <ksqueezedtextlabel.h> 00016 00017 class QVBoxLayout; 00018 class QHBoxLayout; 00019 class QGridLayout; 00020 class QSpacerItem; 00021 class QPushButton; 00022 class QFrame; 00023 class QTextBrowser; 00024 class KSqueezedTextLabel; 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 KSqueezedTextLabel* _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 QSpacerItem* spacer1; 00049 00050 protected slots: 00051 virtual void languageChange(); 00052 00053 }; 00054 00055 #endif // KJSERRORDLG_H