khtml Library API Documentation

kjserrordlg.ui.h

00001 /**************************************************************************** 00002 ** ui.h extension file, included from the uic-generated form implementation. 00003 ** 00004 ** If you wish to add, delete or rename functions or slots use 00005 ** Qt Designer which will update this file, preserving your code. Create an 00006 ** init() function in place of a constructor, and a destroy() function in 00007 ** place of a destructor. 00008 *****************************************************************************/ 00009 00010 00011 void KJSErrorDlg::init() 00012 { 00013 _errorText->setText("<qt>"); 00014 } 00015 00016 void KJSErrorDlg::addError( const QString & error ) 00017 { 00018 // Argh why doesn't QText* interpret html tags unless I use setText()? 00019 // This is really inefficient! 00020 _errorText->setText(_errorText->text() + "<br>\n" + error); 00021 } 00022 00023 void KJSErrorDlg::setURL( const QString & url ) 00024 { 00025 _url->setText(url); 00026 } 00027 00028 void KJSErrorDlg::clear() 00029 { 00030 _errorText->clear(); 00031 _errorText->insert("<qt>"); 00032 }
KDE Logo
This file is part of the documentation for khtml Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 8 11:16:13 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003