diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kformula/symbolelement.h | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
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
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(); } }; |