summaryrefslogtreecommitdiffstats
path: root/lib/kformula/indexelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/indexelement.h')
-rw-r--r--lib/kformula/indexelement.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/lib/kformula/indexelement.h b/lib/kformula/indexelement.h
index b86f0dc4..f3fc1acb 100644
--- a/lib/kformula/indexelement.h
+++ b/lib/kformula/indexelement.h
@@ -35,7 +35,7 @@ class IndexElement : public BasicElement {
IndexElement& operator=( const IndexElement& ) { return *this; }
public:
- IndexElement(BasicElement* tqparent = 0);
+ IndexElement(BasicElement* parent = 0);
~IndexElement();
IndexElement( const IndexElement& );
@@ -86,7 +86,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,
@@ -314,78 +314,78 @@ private:
*/
class IndexElementIndex : public ElementIndex {
public:
- IndexElementIndex(IndexElement* p) : tqparent(p) {}
- virtual IndexElement* getElement() { return tqparent; }
+ IndexElementIndex(IndexElement* p) : parent(p) {}
+ virtual IndexElement* getElement() { return parent; }
protected:
- IndexElement* tqparent;
+ IndexElement* parent;
};
// We have a (very simple) type for every index.
class UpperLeftIndex : public IndexElementIndex {
public:
- UpperLeftIndex(IndexElement* tqparent) : IndexElementIndex(tqparent) {}
+ UpperLeftIndex(IndexElement* parent) : IndexElementIndex(parent) {}
virtual void moveToIndex(FormulaCursor* cursor, Direction direction)
- { tqparent->moveToUpperLeft(cursor, direction); }
+ { parent->moveToUpperLeft(cursor, direction); }
virtual void setToIndex(FormulaCursor* cursor)
- { tqparent->setToUpperLeft(cursor); }
+ { parent->setToUpperLeft(cursor); }
virtual bool hasIndex() const
- { return tqparent->hasUpperLeft(); }
+ { return parent->hasUpperLeft(); }
};
class LowerLeftIndex : public IndexElementIndex {
public:
- LowerLeftIndex(IndexElement* tqparent) : IndexElementIndex(tqparent) {}
+ LowerLeftIndex(IndexElement* parent) : IndexElementIndex(parent) {}
virtual void moveToIndex(FormulaCursor* cursor, Direction direction)
- { tqparent->moveToLowerLeft(cursor, direction); }
+ { parent->moveToLowerLeft(cursor, direction); }
virtual void setToIndex(FormulaCursor* cursor)
- { tqparent->setToLowerLeft(cursor); }
+ { parent->setToLowerLeft(cursor); }
virtual bool hasIndex() const
- { return tqparent->hasLowerLeft(); }
+ { return parent->hasLowerLeft(); }
};
class UpperMiddleIndex : public IndexElementIndex {
public:
- UpperMiddleIndex(IndexElement* tqparent) : IndexElementIndex(tqparent) {}
+ UpperMiddleIndex(IndexElement* parent) : IndexElementIndex(parent) {}
virtual void moveToIndex(FormulaCursor* cursor, Direction direction)
- { tqparent->moveToUpperMiddle(cursor, direction); }
+ { parent->moveToUpperMiddle(cursor, direction); }
virtual void setToIndex(FormulaCursor* cursor)
- { tqparent->setToUpperMiddle(cursor); }
+ { parent->setToUpperMiddle(cursor); }
virtual bool hasIndex() const
- { return tqparent->hasUpperMiddle(); }
+ { return parent->hasUpperMiddle(); }
};
class LowerMiddleIndex : public IndexElementIndex {
public:
- LowerMiddleIndex(IndexElement* tqparent) : IndexElementIndex(tqparent) {}
+ LowerMiddleIndex(IndexElement* parent) : IndexElementIndex(parent) {}
virtual void moveToIndex(FormulaCursor* cursor, Direction direction)
- { tqparent->moveToLowerMiddle(cursor, direction); }
+ { parent->moveToLowerMiddle(cursor, direction); }
virtual void setToIndex(FormulaCursor* cursor)
- { tqparent->setToLowerMiddle(cursor); }
+ { parent->setToLowerMiddle(cursor); }
virtual bool hasIndex() const
- { return tqparent->hasLowerMiddle(); }
+ { return parent->hasLowerMiddle(); }
};
class UpperRightIndex : public IndexElementIndex {
public:
- UpperRightIndex(IndexElement* tqparent) : IndexElementIndex(tqparent) {}
+ UpperRightIndex(IndexElement* parent) : IndexElementIndex(parent) {}
virtual void moveToIndex(FormulaCursor* cursor, Direction direction)
- { tqparent->moveToUpperRight(cursor, direction); }
+ { parent->moveToUpperRight(cursor, direction); }
virtual void setToIndex(FormulaCursor* cursor)
- { tqparent->setToUpperRight(cursor); }
+ { parent->setToUpperRight(cursor); }
virtual bool hasIndex() const
- { return tqparent->hasUpperRight(); }
+ { return parent->hasUpperRight(); }
};
class LowerRightIndex : public IndexElementIndex {
public:
- LowerRightIndex(IndexElement* tqparent) : IndexElementIndex(tqparent) {}
+ LowerRightIndex(IndexElement* parent) : IndexElementIndex(parent) {}
virtual void moveToIndex(FormulaCursor* cursor, Direction direction)
- { tqparent->moveToLowerRight(cursor, direction); }
+ { parent->moveToLowerRight(cursor, direction); }
virtual void setToIndex(FormulaCursor* cursor)
- { tqparent->setToLowerRight(cursor); }
+ { parent->setToLowerRight(cursor); }
virtual bool hasIndex() const
- { return tqparent->hasLowerRight(); }
+ { return parent->hasLowerRight(); }
};