summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/mi/milexer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/debugger/mi/milexer.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/debugger/mi/milexer.h')
-rw-r--r--languages/cpp/debugger/mi/milexer.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/cpp/debugger/mi/milexer.h b/languages/cpp/debugger/mi/milexer.h
index 8f39820c..8f07ba58 100644
--- a/languages/cpp/debugger/mi/milexer.h
+++ b/languages/cpp/debugger/mi/milexer.h
@@ -20,9 +20,9 @@
#ifndef MILEXER_H
#define MILEXER_H
-#include <qmemarray.h>
-#include <qmap.h>
-#include <qstring.h>
+#include <tqmemarray.h>
+#include <tqmap.h>
+#include <tqstring.h>
class MILexer;
class TokenStream;
@@ -38,7 +38,7 @@ struct Token
struct FileSymbol
{
- QCString contents;
+ TQCString contents;
TokenStream *tokenStream;
inline FileSymbol()
@@ -55,10 +55,10 @@ struct TokenStream
inline int currentToken() const
{ return m_currentToken->kind; }
- inline QCString currentTokenText() const
+ inline TQCString currentTokenText() const
{ return tokenText(-1); }
- QCString tokenText(int index = 0) const;
+ TQCString tokenText(int index = 0) const;
inline int lineOffset(int line) const
{ return m_lines.at(line); }
@@ -84,12 +84,12 @@ struct TokenStream
{ m_currentToken++; m_cursor++; }
//private:
- QCString m_contents;
+ TQCString m_contents;
- QMemArray<int> m_lines;
+ TQMemArray<int> m_lines;
int m_line;
- QMemArray<Token> m_tokens;
+ TQMemArray<Token> m_tokens;
int m_tokensCount;
Token *m_firstToken;
@@ -123,15 +123,15 @@ private:
static bool s_initialized;
static scan_fun_ptr s_scan_table[128 + 1];
- QCString m_contents;
+ TQCString m_contents;
int m_ptr;
// Cached 'm_contents.length()'
int m_length;
- QMemArray<int> m_lines;
+ TQMemArray<int> m_lines;
int m_line;
- QMemArray<Token> m_tokens;
+ TQMemArray<Token> m_tokens;
int m_tokensCount;
int m_cursor;