diff options
Diffstat (limited to 'lib/kformula/symbolelement.h')
-rw-r--r-- | lib/kformula/symbolelement.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/kformula/symbolelement.h b/lib/kformula/symbolelement.h index 877c4493..0133258e 100644 --- a/lib/kformula/symbolelement.h +++ b/lib/kformula/symbolelement.h @@ -36,7 +36,7 @@ public: //enum { contentPos, upperPos, lowerPos }; - SymbolElement(SymbolType type = EmptyBracket, BasicElement* tqparent = 0); + SymbolElement(SymbolType type = EmptyBracket, BasicElement* parent = 0); ~SymbolElement(); SymbolElement( const SymbolElement& ); @@ -74,7 +74,7 @@ public: /** * Draws the whole element including its tqchildren. - * The `parentOrigin' is the point this element's tqparent starts. + * The `parentOrigin' is the point this element's parent starts. * We can use our parentPosition to get our own origin then. */ virtual void draw( TQPainter& painter, const LuPixelRect& r, @@ -227,7 +227,7 @@ public: virtual TQString formulaString(); - virtual void writeMathML( TQDomDocument& doc, TQDomNode& tqparent, bool oasisFormat = false ) const ; + virtual void writeMathML( TQDomDocument& doc, TQDomNode& parent, bool oasisFormat = false ) const ; protected: @@ -263,34 +263,34 @@ private: */ class SymbolElementIndex : public ElementIndex { public: - SymbolElementIndex(SymbolElement* p) : tqparent(p) {} - virtual SymbolElement* getElement() { return tqparent; } + SymbolElementIndex(SymbolElement* p) : parent(p) {} + virtual SymbolElement* getElement() { return parent; } protected: - SymbolElement* tqparent; + SymbolElement* parent; }; // We have a (very simple) type for every index. class UpperIndex : public SymbolElementIndex { public: - UpperIndex(SymbolElement* tqparent) : SymbolElementIndex(tqparent) {} + UpperIndex(SymbolElement* parent) : SymbolElementIndex(parent) {} virtual void moveToIndex(FormulaCursor* cursor, Direction direction) - { tqparent->moveToUpper(cursor, direction); } + { parent->moveToUpper(cursor, direction); } virtual void setToIndex(FormulaCursor* cursor) - { tqparent->setToUpper(cursor); } + { parent->setToUpper(cursor); } virtual bool hasIndex() const - { return tqparent->hasUpper(); } + { return parent->hasUpper(); } }; class LowerIndex : public SymbolElementIndex { public: - LowerIndex(SymbolElement* tqparent) : SymbolElementIndex(tqparent) {} + LowerIndex(SymbolElement* parent) : SymbolElementIndex(parent) {} virtual void moveToIndex(FormulaCursor* cursor, Direction direction) - { tqparent->moveToLower(cursor, direction); } + { parent->moveToLower(cursor, direction); } virtual void setToIndex(FormulaCursor* cursor) - { tqparent->setToLower(cursor); } + { parent->setToLower(cursor); } virtual bool hasIndex() const - { return tqparent->hasLower(); } + { return parent->hasLower(); } }; |