summaryrefslogtreecommitdiffstats
path: root/kturtle/src/lexer.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/lexer.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/lexer.h')
-rw-r--r--kturtle/src/lexer.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kturtle/src/lexer.h b/kturtle/src/lexer.h
index 49317f8e..37dccf08 100644
--- a/kturtle/src/lexer.h
+++ b/kturtle/src/lexer.h
@@ -20,9 +20,9 @@
#ifndef _LEXER_H_
#define _LEXER_H_
-#include <qmap.h>
-#include <qstring.h>
-#include <qtextstream.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqtextstream.h>
#include "token.h"
#include "translate.h"
@@ -32,25 +32,25 @@
class Lexer
{
public:
- Lexer(QTextIStream&);
+ Lexer(TQTextIStream&);
~Lexer() {}
Token lex(); // returns the next Token, skipping spaces
private:
- QChar getChar();
- void ungetChar(QChar);
- int getWord(QString&);
+ TQChar getChar();
+ void ungetChar(TQChar);
+ int getWord(TQString&);
void skipSpaces();
void setTokenType(Token&);
- int getNumber(Value&, QString&);
+ int getNumber(Value&, TQString&);
void getString(Token&);
- QTextIStream *inputStream;
+ TQTextIStream *inputStream;
Translate *translate;
uint row, col, prevCol;
- QChar putBackChar;
+ TQChar putBackChar;
};