• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

kjserrordlg.ui.h

Go to the documentation of this file.
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->setTextFormat(QTextEdit::LogText);
00014     _errorText->setMaxLogLines(2048);//Limit to about 2K errors so we don't use much CPU
00015 }
00016 
00017 void KJSErrorDlg::addError( const QString & error )
00018 {
00019     
00020     _errorText->append(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     init();
00032 }

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal