From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/DESIGN.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'khtml/DESIGN.html') diff --git a/khtml/DESIGN.html b/khtml/DESIGN.html index 00af13045..c14170ec4 100644 --- a/khtml/DESIGN.html +++ b/khtml/DESIGN.html @@ -9,7 +9,7 @@ dt { font-weight: bold; }

This document tries to give a short overview about the internal design of the khtml -library. I've written this, because the lib has gotten quite big, and it is hard at first to find your +library. I've written this, because the lib has gotten quite big, and it is hard at first to tqfind your way in the source code. This doesn't mean that you'll understand khtml after reading this document, but it'll hopefully make it easier for you to read the source code.

@@ -84,7 +84,7 @@ in a tree like structure. Imagine some html like In the following I'll show how this input will be processed step by step to generate the visible output you will finally see on your screen. I'm describing the things as if they happen one after the other, to make the principle more clear. In reality, to get visible output on the screen as soon as possible, -all these things (from tokenization to the build up and layouting of the rendering tree) happen +all these things (from tokenization to the build up and tqlayouting of the rendering tree) happen more or less in parallel.

Tokenizer and parser

@@ -168,7 +168,7 @@ explicit sharing of the DOM specs. Another advantage is, that (as the implementation classes are not exported) it gives us a lot more freedom to make changes in the implementation without breaking binary compatibility.

-You will find almost a one to one correspondence between the interface classes and the implementation +You will tqfind almost a one to one correspondence between the interface classes and the implementation classes. In the implementation classes we have added a few more intermediate classes, that can not be seen from the outside for various reasons (make implementation of shared features easier or to reduce memory consumption). @@ -258,9 +258,9 @@ RenderRoot*

-A call to of layout() on the +A call to of tqlayout() on the RenderRoot (the root of the rendering tree) -object causes the rendering tree to layout itself into the available space +object causes the rendering tree to tqlayout 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 paint the document. This is not 100% correct, when parsing incrementally, but @@ -291,10 +291,10 @@ that defines the DTD to use for HTML (used mainly in the parser).

Java related stuff.
misc:
Some misc stuff needed in khtml. Contains the image loader, some misc definitions and the -decoder class that converts the incoming stream to unicode. +decoder class that converts the incoming stream to tqunicode.
rendering:
Everything thats related to bringing a DOM tree with CSS declarations to the screen. Contains -the definition of the objects used in the rendering tree, the layouting code, and the RenderStyle objects. +the definition of the objects used in the rendering tree, the tqlayouting code, and the RenderStyle objects.
xml:
The XML part of the DOM implementation, the xml tokenizer. @@ -309,7 +309,7 @@ is part of dom/* checks for this flag and throws the exception.

All the above is to give you a quick introduction into the way khtml brings an HTML/XML file to the screen. It is by no way complete or even 100% correct. I left out many problems, I will perhaps add either on request -or when I find some time to do so. Let me name some of the missing things: +or when I tqfind some time to do so. Let me name some of the missing things: