summaryrefslogtreecommitdiffstats
path: root/kturtle/src/parser.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/parser.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/parser.h')
-rw-r--r--kturtle/src/parser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kturtle/src/parser.h b/kturtle/src/parser.h
index 28be566f..68836221 100644
--- a/kturtle/src/parser.h
+++ b/kturtle/src/parser.h
@@ -20,7 +20,7 @@
#ifndef _PARSER_H_
#define _PARSER_H_
-#include <qobject.h>
+#include <tqobject.h>
#include "lexer.h"
#include "treenode.h"
@@ -31,7 +31,7 @@ class Parser : public QObject
Q_OBJECT
public:
- Parser(QTextIStream& in);
+ Parser(TQTextIStream& in);
virtual ~Parser();
void parse();
@@ -39,7 +39,7 @@ class Parser : public QObject
signals:
- void ErrorMsg(Token&, const QString&, uint code);
+ void ErrorMsg(Token&, const TQString&, uint code);
private:
@@ -49,7 +49,7 @@ class Parser : public QObject
void getToken();
void matchToken(int tokenType);
void appendParameters(TreeNode* node);
- void Error(Token&, const QString& s, uint code);
+ void Error(Token&, const TQString& s, uint code);
TreeNode* Program();
TreeNode* ParamList();
@@ -120,7 +120,7 @@ class Parser : public QObject
Token preservedToken; // to preserve the currentToken so it wont get lost
uint row;
uint col;
- QStringList learnedFunctionList;
+ TQStringList learnedFunctionList;
};
#endif // _PARSER_H_