diff options
Diffstat (limited to 'languages/cpp/debugger/mi/milexer.h')
-rw-r--r-- | languages/cpp/debugger/mi/milexer.h | 24 |
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; |