summaryrefslogtreecommitdiffstats
path: root/lib/kformula/sequenceelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/sequenceelement.h')
-rw-r--r--lib/kformula/sequenceelement.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/lib/kformula/sequenceelement.h b/lib/kformula/sequenceelement.h
index 4d32153c..f9fb2ce6 100644
--- a/lib/kformula/sequenceelement.h
+++ b/lib/kformula/sequenceelement.h
@@ -34,8 +34,8 @@ class SymbolTable;
class ElementCreationStrategy;
/**
- * The element that contains a number of tqchildren.
- * The tqchildren are aligned in one line.
+ * The element that contains a number of children.
+ * The children are aligned in one line.
*/
class SequenceElement : public BasicElement {
SequenceElement& operator=( const SequenceElement& ) { return *this; }
@@ -92,7 +92,7 @@ public:
/**
* Calculates our width and height and
- * our tqchildren's parentPosition.
+ * our children's parentPosition.
*/
virtual void calcSizes( const ContextStyle& cstyle,
ContextStyle::TextStyle tstyle,
@@ -100,7 +100,7 @@ public:
StyleAttributes& style );
/**
- * Draws the whole element including its tqchildren.
+ * Draws the whole element including its children.
* The `parentOrigin' is the point this element's parent starts.
* We can use our parentPosition to get our own origin then.
*/
@@ -112,7 +112,7 @@ public:
const LuPixelPoint& parentOrigin );
/**
- * Dispatch this FontCommand to all our TextElement tqchildren.
+ * Dispatch this FontCommand to all our TextElement children.
*/
virtual void dispatchFontCommand( FontCommand* cmd );
@@ -202,10 +202,10 @@ public:
virtual void goInsideLast(FormulaCursor* cursor);
- // tqchildren
+ // children
/**
- * Inserts all new tqchildren at the cursor position. Places the
+ * Inserts all new children at the cursor position. Places the
* cursor according to the direction. The inserted elements will
* be selected.
*
@@ -214,8 +214,8 @@ public:
virtual void insert(FormulaCursor*, TQPtrList<BasicElement>&, Direction);
/**
- * Removes all selected tqchildren and returns them. Places the
- * cursor to where the tqchildren have been.
+ * Removes all selected children and returns them. Places the
+ * cursor to where the children have been.
*/
virtual void remove(FormulaCursor*, TQPtrList<BasicElement>&, Direction);
@@ -244,18 +244,18 @@ public:
virtual void childWillVanish(FormulaCursor* cursor, BasicElement* child);
/**
- * @returns the number of tqchildren we have.
+ * @returns the number of children we have.
*/
- uint countChildren() const { return tqchildren.count(); }
+ uint countChildren() const { return children.count(); }
/**
* @returns whether the child has the given number.
*/
bool isChildNumber( uint pos, BasicElement* child )
- { return tqchildren.at( pos ) == child; }
+ { return children.at( pos ) == child; }
/**
- * Selects all tqchildren. The cursor is put behind, the mark before them.
+ * Selects all children. The cursor is put behind, the mark before them.
*/
void selectAllChildren(FormulaCursor* cursor);
@@ -288,12 +288,12 @@ public:
virtual void parse();
/**
- * Stores the given tqchildrens dom in the element.
+ * Stores the given childrens dom in the element.
*/
void getChildrenDom( TQDomDocument& doc, TQDomElement elem, uint from, uint to);
/**
- * Stores the given tqchildrens MathML dom in the element.
+ * Stores the given childrens MathML dom in the element.
*/
void getChildrenMathMLDom( TQDomDocument& doc, TQDomNode& elem, uint from, uint to );
@@ -306,7 +306,7 @@ public:
/**
* @returns the latex representation of the element and
- * of the element's tqchildren
+ * of the element's children
*/
virtual TQString toLatex();
@@ -315,10 +315,10 @@ public:
/**
* @returns the child at position i.
*/
- BasicElement* getChild(uint i) { return tqchildren.at(i); }
+ BasicElement* getChild(uint i) { return children.at(i); }
const BasicElement* getChild(uint i) const;
- int childPos( BasicElement* child ) { return tqchildren.find( child ); }
+ int childPos( BasicElement* child ) { return children.find( child ); }
int childPos( const BasicElement* child ) const;
class ChildIterator {
@@ -407,7 +407,7 @@ protected:
virtual bool readContentFromDom(TQDomNode& node);
/**
- * Sets the tqchildrens' positions after their size has been
+ * Sets the childrens' positions after their size has been
* calculated.
*
* @see #calcSizes
@@ -458,16 +458,16 @@ protected:
private:
/**
- * Removes the tqchildren at pos and appends it to the list.
+ * Removes the children at pos and appends it to the list.
*/
void removeChild(TQPtrList<BasicElement>& removedChildren, int pos);
/**
- * Our tqchildren. Be sure to notify the rootElement before
+ * Our children. Be sure to notify the rootElement before
* you remove any.
*/
- TQPtrList<BasicElement> tqchildren;
+ TQPtrList<BasicElement> children;
/**
* the syntax tree of the sequence
@@ -603,7 +603,7 @@ protected:
/**
* @returns whether the child is the first element of its token.
- * This can never happen here. Our tqchildren reuse our own
+ * This can never happen here. Our children reuse our own
* element type.
*/
virtual bool isFirstOfToken( BasicElement* ) { return false; }