• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
kjserrordlg.cpp
Go to the documentation of this file.
1#include "kjserrordlg.h"
2#include "kjserrordlg.moc"
3
4KJSErrorDlg::KJSErrorDlg( QWidget *parent )
5 : QDialog( parent )
6{
7 setupUi( this );
8 connect(_clear,SIGNAL(clicked()),this,SLOT(clear()));
9 connect(_close,SIGNAL(clicked()),this,SLOT(hide()));
10 init();
11}
12
13void KJSErrorDlg::addError( const QString & error )
14{
15 _errorText->append(error);
16}
17
18void KJSErrorDlg::setURL( const QString & url )
19{
20 _url->setText(url);
21}
22
23void KJSErrorDlg::clear()
24{
25 _errorText->clear();
26 init();
27}
28
29void KJSErrorDlg::init()
30{
31 _errorText->setAcceptRichText(false);
32}
KJSErrorDlg::setURL
void setURL(const QString &url)
Definition: kjserrordlg.cpp:18
KJSErrorDlg::addError
void addError(const QString &error)
Definition: kjserrordlg.cpp:13
KJSErrorDlg::KJSErrorDlg
KJSErrorDlg(QWidget *parent=0)
Definition: kjserrordlg.cpp:4
KJSErrorDlg::clear
void clear()
Definition: kjserrordlg.cpp:23
QDialog
QWidget
kjserrordlg.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal