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

KHTML

  • sources
  • kde-4.14
  • kdelibs
  • khtml
kjserrordlg.cpp
Go to the documentation of this file.
1 #include "kjserrordlg.h"
2 #include "kjserrordlg.moc"
3 
4 KJSErrorDlg::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 
13 void KJSErrorDlg::addError( const QString & error )
14 {
15  _errorText->append(error);
16 }
17 
18 void KJSErrorDlg::setURL( const QString & url )
19 {
20  _url->setText(url);
21 }
22 
23 void KJSErrorDlg::clear()
24 {
25  _errorText->clear();
26  init();
27 }
28 
29 void KJSErrorDlg::init()
30 {
31  _errorText->setAcceptRichText(false);
32 }
KJSErrorDlg::clear
void clear()
Definition: kjserrordlg.cpp:23
QWidget
QWidget::setupUi
void setupUi(QWidget *widget)
KJSErrorDlg::addError
void addError(const QString &error)
Definition: kjserrordlg.cpp:13
KJSErrorDlg::setURL
void setURL(const QString &url)
Definition: kjserrordlg.cpp:18
QString
QWidget::hide
void hide()
kjserrordlg.h
QDialog
QObject::connect
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
KJSErrorDlg::KJSErrorDlg
KJSErrorDlg(QWidget *parent=0)
Definition: kjserrordlg.cpp:4
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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

Search



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