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

KHTML

KDE HTML Parser and Widget

4.3

If you want a fully-fledged HTML browser widget in your application, you can use KHTMLPart to do so.
KUrl url = "http://www.kde.org";
KHTMLPart *w = new KHTMLPart();
w->openUrl(url);
w->view()->resize(500, 400);
w->show();

For more information, see the documentation for KHTMLPart.

Note that using KHTMLPart may introduce security vulnerabilities and unnecessary bloat to your application. Qt's text widgets are rich-text capable, and will interpret a limited subset of HTML.

Author(s):
Torben Weis <weis@stud.uni-frankfurt.de>
Josip A. Gracin <grac@fly.cc.fer.hr>
Martin Jones <mjones@kde.org>
Waldo Bastian <bastian@kde.org>
Lars Knoll <knoll@kde.org>
Antti Koivisto <koivisto@iki.fi>
Dirk Mueller <mueller@kde.org>
Peter Kelly <pmk@post.com>
George Staikos <staikos@kde.org>
Allan Sandfeld Jensen <kde@carewolf.com>
Germain Garand <germain@ebooksfrance.org>
Maksim Orlovich <maksim@kde.org>
KHTML has also heavily benefited from the work of Apple Computer, Inc.
Maintainer(s):
Allan Sandfeld Jensen
Germain Garand
Maksim Orlovich
License(s):
LGPLv2

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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