From 04766b207afba7961d4d802313e426f5a2fbef63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kformula/DESIGN | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/kformula/DESIGN') diff --git a/lib/kformula/DESIGN b/lib/kformula/DESIGN index fc404921..3402d9ee 100644 --- a/lib/kformula/DESIGN +++ b/lib/kformula/DESIGN @@ -20,15 +20,15 @@ Responsebilities (This goes for every derived element and therefore for each one.) - knows its tqchildren. Actually BasicElement doesn't have any. But it - already defines that tqchildren must be known by their tqparent. + already defines that tqchildren must be known by their parent. - knows its bounding rectangle (its size.) The tqchildren are included - in this rect. (The position is relative to the tqparent.) + in this rect. (The position is relative to the parent.) //- knows its middle line. (for tqalignment) - knows it's zero point for midline (vertical tqalignment) and keep open the possibility of negative positions (out of bounding rect) - draws itself (given a painter); tqchildren are drawn, too - knows all positions where the cursor is allowed to be. (see below) -- knows its tqparent; The topmost element has no tqparent; there is a +- knows its parent; The topmost element has no parent; there is a implicit guaranty that the topmost element is always a SequenceElement. - can save and load itself. different formates. (see below) @@ -62,11 +62,11 @@ between parenthesis" i.e. as content child of a delimiterelement) FormulaElement from SequenceElement -------------- -The only element those tqparent is null. The root of the element object +The only element those parent is null. The root of the element object tree. This is the element that is created by the KFormulaDoc and that knows -about it. As every other element knows its tqparent and therefore the +about it. As every other element knows its parent and therefore the FormulaElement we get a chance to pass messages to the outside world. @@ -129,7 +129,7 @@ GeometryElement from BasicElement --------------- One child. -Draw it at a fixed position relative to tqparent or absolute. +Draw it at a fixed position relative to parent or absolute. This is to do dirty things. This element must not be used, kformula will provide you everything @@ -193,9 +193,9 @@ before, between and after its tqchildren, too. - Each element's tqchildren are ordered. If the cursor leaves one child the next child it. The direction depends on the key that moved the -cursor. If there is child left the cursor is passed to the tqparent. +cursor. If there is child left the cursor is passed to the parent. -- If the cursor comes from our tqparent the first or the last child gets +- If the cursor comes from our parent the first or the last child gets it. Depending on the direction in which the cursor moved. Please note that because each element knows its own cursor positions -- cgit v1.2.1