summaryrefslogtreecommitdiffstats
path: root/lib/kformula/basicelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/basicelement.h')
-rw-r--r--lib/kformula/basicelement.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/kformula/basicelement.h b/lib/kformula/basicelement.h
index 73d031e1..1fe46cc1 100644
--- a/lib/kformula/basicelement.h
+++ b/lib/kformula/basicelement.h
@@ -53,7 +53,7 @@ class StyleElement;
* Basis of every formula element. An element is used basically by
* other elements and by the @ref FormulaCursor .
*
- * Each element knows its size (a rect that includes all children)
+ * Each element knows its size (a rect that includes all tqchildren)
* and how to draw itself. See @ref calcSizes and @ref draw .
*
* An element might contain valid cursor position. If the cursor
@@ -63,11 +63,11 @@ class StyleElement;
* cursor that tell how it wants to move. See @ref moveLeft ,
* @ref moveRight , @ref moveUp , @ref moveDown .
*
- * To build a tree an element must own children. If there are children
+ * To build a tree an element must own tqchildren. If there are tqchildren
* there must be a main child. This is the child that might be used to
* replace the element. See @ref getMainChild().
*
- * If there can be children you might want to @ref insert and @ref remove
+ * If there can be tqchildren you might want to @ref insert and @ref remove
* them. After a removal the element might be senseless.
* (See @ref isSenseless )
* If it is it must be removed.
@@ -81,10 +81,10 @@ class BasicElement
public:
/*
- * Each element might contain children. Each child needs
+ * Each element might contain tqchildren. Each child needs
* its own unique number. It is not guaranteed, however,
* that the number stays the same all the time.
- * (The SequenceElement's children are simply counted.)
+ * (The SequenceElement's tqchildren are simply counted.)
*/
BasicElement(BasicElement* parent = 0);
@@ -102,7 +102,7 @@ public:
/**
* @returns whether the child should be read-only. The idea is
- * that a read-only parent has read-only children.
+ * that a read-only parent has read-only tqchildren.
*/
virtual bool readOnly( const BasicElement* child ) const;
@@ -158,7 +158,7 @@ public:
/**
* Calculates our width and height and
- * our children's parentPosition.
+ * our tqchildren's parentPosition.
*/
virtual void calcSizes( const ContextStyle& context,
ContextStyle::TextStyle tstyle,
@@ -166,7 +166,7 @@ public:
StyleAttributes& style ) = 0;
/**
- * Draws the whole element including its children.
+ * Draws the whole element including its tqchildren.
* The `parentOrigin' is the point this element's parent starts.
* We can use our parentPosition to get our own origin then.
*/
@@ -179,7 +179,7 @@ public:
/**
- * Dispatch this FontCommand to all our TextElement children.
+ * Dispatch this FontCommand to all our TextElement tqchildren.
*/
virtual void dispatchFontCommand( FontCommand* /*cmd*/ ) {}
@@ -243,7 +243,7 @@ public:
*/
virtual void entered( SequenceElement* /*child*/ );
- // children
+ // tqchildren
/**
* Removes the child. If this was the main child this element might
@@ -257,7 +257,7 @@ public:
// main child
//
- // If an element has children one has to become the main one.
+ // If an element has tqchildren one has to become the main one.
virtual SequenceElement* getMainChild() { return 0; }
//virtual void setMainChild(SequenceElement*) {}
@@ -265,10 +265,10 @@ public:
// editing
//
- // Insert and remove children.
+ // Insert and remove tqchildren.
/**
- * Inserts all new children at the cursor position. Places the
+ * Inserts all new tqchildren at the cursor position. Places the
* cursor according to the direction.
*
* The list will be emptied but stays the property of the caller.
@@ -276,8 +276,8 @@ public:
virtual void insert(FormulaCursor*, TQPtrList<BasicElement>&, Direction) {}
/**
- * Removes all selected children and returns them. Places the
- * cursor to where the children have been.
+ * Removes all selected tqchildren and returns them. Places the
+ * cursor to where the tqchildren have been.
*/
virtual void remove(FormulaCursor*, TQPtrList<BasicElement>&, Direction) {}
@@ -290,7 +290,7 @@ public:
/**
* Returns wether the element has no more useful
- * children (except its main child) and should therefore
+ * tqchildren (except its main child) and should therefore
* be replaced by its main child's content.
*/
virtual bool isSenseless() { return false; }
@@ -316,7 +316,7 @@ public:
/**
- * Callback for the tabs among our children. Needed for alignment.
+ * Callback for the tabs among our tqchildren. Needed for tqalignment.
*/
virtual void registerTab( BasicElement* /*tab*/ ) {}
@@ -368,7 +368,7 @@ public:
/**
* @return a TQDomElement that contain as DomChildren the
- * children, and as attribute the attribute of this
+ * tqchildren, and as attribute the attribute of this
* element.
*/
TQDomElement getElementDom( TQDomDocument& doc);
@@ -380,13 +380,13 @@ public:
virtual void writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat = false ) const ;
/**
- * Set this element attribute, build children and
+ * Set this element attribute, build tqchildren and
* call their buildFromDom.
*/
bool buildFromDom(TQDomElement element);
/**
- * Set this element attribute, build children and call
+ * Set this element attribute, build tqchildren and call
* their builFromMathMLDom.
* Returns the number of nodes processed or -1 if it failed.
*/
@@ -445,7 +445,7 @@ protected:
* Returns if the SequenceElement could be constructed from the nodes first child.
* The node name must match the given name.
*
- * This is a service for all subclasses that contain children.
+ * This is a service for all subclasses that contain tqchildren.
*/
bool buildChild( SequenceElement* child, TQDomNode node, TQString name );
@@ -467,7 +467,7 @@ protected:
/**
* @returns the latex representation of the element and
- * of the element's children
+ * of the element's tqchildren
*/
virtual TQString toLatex();
@@ -521,7 +521,7 @@ private:
* along this line.
*
* There are elements (like matrix) that don't have a base line. It is
- * -1 in this case. The alignment is done using the middle line.
+ * -1 in this case. The tqalignment is done using the middle line.
*/
luPixel m_baseline;