diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
commit | abcbb684982167791304dc2fe0bc979489506b43 (patch) | |
tree | c705baa3702ffd62398873af8131525569b1af89 /lib/cppparser | |
parent | 7e66d7c3611d907ea28b140281b472bb1c406be6 (diff) | |
download | tdevelop-abcbb684982167791304dc2fe0bc979489506b43.tar.gz tdevelop-abcbb684982167791304dc2fe0bc979489506b43.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'lib/cppparser')
-rw-r--r-- | lib/cppparser/lexer.cpp | 4 | ||||
-rw-r--r-- | lib/cppparser/lexer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/cppparser/lexer.cpp b/lib/cppparser/lexer.cpp index 0c24ceae..167c88c4 100644 --- a/lib/cppparser/lexer.cpp +++ b/lib/cppparser/lexer.cpp @@ -184,7 +184,7 @@ int Lexer::toInt( const Token& token ) int i = s[0] == 'L' ? 2 : 1; // wide char ? if( s[i] == '\\' ){ // escaped char - int c = s[i+1].tqunicode(); + int c = s[i+1].unicode(); switch( c ) { case '0': return 0; @@ -195,7 +195,7 @@ int Lexer::toInt( const Token& token ) return c; } } else { - return s[i].tqunicode(); + return s[i].unicode(); } } else { return 0; diff --git a/lib/cppparser/lexer.h b/lib/cppparser/lexer.h index 2630edf7..12f16696 100644 --- a/lib/cppparser/lexer.h +++ b/lib/cppparser/lexer.h @@ -244,11 +244,11 @@ public: int currentColumn() const { return m_currentColumn; } inline const CHARTYPE* offset( int offset ) const { - return m_source.tqunicode() + offset; + return m_source.unicode() + offset; } inline int getOffset( const TQChar* p ) const { - return int(p - (m_source.tqunicode())); + return int(p - (m_source.unicode())); } private: |