summaryrefslogtreecommitdiffstats
path: root/kturtle/src/treenode.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kturtle/src/treenode.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kturtle/src/treenode.h')
-rw-r--r--kturtle/src/treenode.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kturtle/src/treenode.h b/kturtle/src/treenode.h
index 44d64d0a..f43260bf 100644
--- a/kturtle/src/treenode.h
+++ b/kturtle/src/treenode.h
@@ -25,7 +25,7 @@
#include <list>
-#include <qstring.h>
+#include <tqstring.h>
#include "lexer.h"
#include "token.h"
@@ -214,7 +214,7 @@ 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 parent
- TreeNode( Token, NodeType = Unknown, QString = QString() );
+ TreeNode( Token, NodeType = Unknown, TQString = TQString() );
virtual ~TreeNode();
void init();
@@ -241,12 +241,12 @@ class TreeNode : public list<TreeNode*> /*, public Value <-- maybe oneday */
void setType(NodeType t) { fType = t; }
NodeType getType() const { return fType; }
- void setLook(const QString& s) { fTok.look = s; }
- QString getLook() const { return fTok.look; }
+ void setLook(const TQString& s) { fTok.look = s; }
+ TQString getLook() const { return fTok.look; }
void setValue(const Value& n) { fTok.value = n; }
void setValue(double d) { fTok.value = d; }
- void setValue(const QString& s) { fTok.value = s; }
+ void setValue(const TQString& s) { fTok.value = s; }
void setValue(bool b) { fTok.value.setBool(b); }
Value getValue() const { return fTok.value; }