diff options
Diffstat (limited to 'lib/kformula/rootelement.h')
-rw-r--r-- | lib/kformula/rootelement.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kformula/rootelement.h b/lib/kformula/rootelement.h index 4908a643..1eacf4d4 100644 --- a/lib/kformula/rootelement.h +++ b/lib/kformula/rootelement.h @@ -38,7 +38,7 @@ public: //enum { contentPos, indexPos }; - RootElement(BasicElement* tqparent = 0); + RootElement(BasicElement* parent = 0); ~RootElement(); RootElement( const RootElement& ); @@ -75,7 +75,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, @@ -231,16 +231,16 @@ private: class RootElementIndex : public ElementIndex { public: - RootElementIndex(RootElement* p) : tqparent(p) {} + RootElementIndex(RootElement* p) : parent(p) {} virtual void moveToIndex(FormulaCursor* cursor, Direction direction) - { tqparent->moveToIndex(cursor, direction); } + { parent->moveToIndex(cursor, direction); } virtual void setToIndex(FormulaCursor* cursor) - { tqparent->setToIndex(cursor); } + { parent->setToIndex(cursor); } virtual bool hasIndex() const - { return tqparent->hasIndex(); } - virtual RootElement* getElement() { return tqparent; } + { return parent->hasIndex(); } + virtual RootElement* getElement() { return parent; } protected: - RootElement* tqparent; + RootElement* parent; }; |