summaryrefslogtreecommitdiffstats
path: root/tdehtml/README.HTMLWidget
blob: cae4a3c58b1d03b66f91b83e444e21d5bd6eb248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
KDE HTML Widget
===============

Developers
----------

The first version was written by

Torben Weis <[email protected]>

It was extended by

Josip A. Gracin <[email protected]>,
Martin Jones <[email protected]>,
Waldo Bastian <[email protected]>
Lars Knoll <[email protected]>
Antti Koivisto <[email protected]>
Dirk Mueller <[email protected]>
Peter Kelly <[email protected]>

It is currently primarily maintained and developed by
Lars Knoll, Dirk Mueller and Antti Koivisto.


Revision History
----------------

This library is called libtdehtml.
This library used to be called libtdehtmlw. With the release of KDE 1.1 a 
source incompatible version called libtdehtml has been created. 
libtdehtmlw will not be maintained any more, all application writers are 
urgently requested to make use of the new libtdehtml library.


Starting Point
--------------

You can add the widget to your program by doing something like:

#include <tdehtml.h>

   .
   .
   .

    TDEHTMLWidget *view = new TDEHTMLWidget( parent, "Name" );
	view->show();

	view->begin( "file:/tmp/test.html" );
	view->parse();
	view->write( "<HTML><TITLE>...." );
	view->write( "..." );
	    .
		.
		.
	view->write( "</HTML>" );
	view->end();


After doing this, control must be returned to the event loop as the HTML
is parsed in the background using a Qt timer.

For more information see the full documentation in JavaDoc format included
in the header files.