# khtml Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# 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 }

This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:33:19 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003