summaryrefslogtreecommitdiffstats
path: root/kturtle/src/treenode.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commiteb570158698cf61dad4f77d950ef908160f6c3cc (patch)
tree649bf182bcf0a20bed5035d25ffd77de5aee138a /kturtle/src/treenode.h
parentd8762de95349dc6edaa34db9bf699b367c1af6b1 (diff)
downloadtdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.tar.gz
tdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kturtle/src/treenode.h')
-rw-r--r--kturtle/src/treenode.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kturtle/src/treenode.h b/kturtle/src/treenode.h
index 95b15bd8..f43260bf 100644
--- a/kturtle/src/treenode.h
+++ b/kturtle/src/treenode.h
@@ -213,14 +213,14 @@ class TreeNode : public list<TreeNode*> /*, public Value <-- maybe oneday */
{
public:
TreeNode(); // used for creation of the first node called 'tree', in the contructor of the parser
- TreeNode( TreeNode* ); // give tqparent
+ TreeNode( TreeNode* ); // give parent
TreeNode( Token, NodeType = Unknown, TQString = TQString() );
virtual ~TreeNode();
void init();
void appendChild(TreeNode*);
- void appendSibling(TreeNode*); // works only if it has tqparent set!
+ void appendSibling(TreeNode*); // works only if it has parent set!
TreeNode* firstChild();
TreeNode* secondChild();
@@ -232,8 +232,8 @@ class TreeNode : public list<TreeNode*> /*, public Value <-- maybe oneday */
TreeNode* nextSibling();
TreeNode* prevSibling();
- void setParent(TreeNode* p) { tqparent = p; }
- TreeNode* getParent() const { return tqparent; }
+ void setParent(TreeNode* p) { parent = p; }
+ TreeNode* getParent() const { return parent; }
void setToken(Token t) { fTok = t; }
Token& getToken() { return fTok; }
@@ -254,7 +254,7 @@ class TreeNode : public list<TreeNode*> /*, public Value <-- maybe oneday */
uint getCol() const { return fTok.start.col; }
bool hasChildren() const { return size() != 0; }
- TreeNode::iterator lookup(); // gives location in tqparent list as iterator (used by prevSibling and nextSibling)
+ TreeNode::iterator lookup(); // gives location in parent list as iterator (used by prevSibling and nextSibling)
TreeNode& operator=(const TreeNode&);
@@ -270,7 +270,7 @@ class TreeNode : public list<TreeNode*> /*, public Value <-- maybe oneday */
protected:
- TreeNode *tqparent;
+ TreeNode *parent;
};
#endif // _TREENODE_H_