From 7427e438358d44c37e3c8b0a9cfbb225ffd60e79 Mon Sep 17 00:00:00 2001
From: Timothy Pearson
The library is build up out of several different parts. Basically, when you use the lib, you -create an instance of a KHTMLPart, and feed data to it. That's more or less all you need to +create an instance of a TDEHTMLPart, and feed data to it. That's more or less all you need to know if you want to use tdehtml for another application. If you want to start hacking tdehtml, here's a sketch of the objects that will get constructed, when eg. running testtdehtml with a url argument. @@ -52,8 +52,8 @@ compatible to IE.
-KHTMLPart creates one instance of a -KHTMLView (derived from TQScrollView), +TDEHTMLPart creates one instance of a +TDEHTMLView (derived from TQScrollView), the widget showing the whole thing. At the same time a DOM tree is built up from the HTML or XML found in the specified file.
@@ -173,7 +173,7 @@ classes. In the implementation classes we have added a few more intermediate cla not be seen from the outside for various reasons (make implementation of shared features easier or to reduce memory consumption).
-In C++, you can access the whole DOM tree from outside KHTML by using the interface classes. +In C++, you can access the whole DOM tree from outside TDEHTML by using the interface classes. For a description see the introduction to tdehtml on developer.kde.org. One thing that has been omitted in the discussion above is the style sheet defined inside the @@ -261,8 +261,8 @@ RenderRoot* A call to of layout() on the RenderRoot (the root of the rendering tree) object causes the rendering tree to layout itself into the available space -(width) given by the the KHTMLView. After that, the drawContents() method of -KHTMLView can call RenderRoot->print() with appropriate parameters to actually +(width) given by the the TDEHTMLView. After that, the drawContents() method of +TDEHTMLView can call RenderRoot->print() with appropriate parameters to actually paint the document. This is not 100% correct, when parsing incrementally, but is exactly what happens when you resize the document. @@ -301,7 +301,7 @@ the definition of the objects used in the rendering tree, the layouting code, an