diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /kspread/formula.cc | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kspread/formula.cc')
-rw-r--r-- | kspread/formula.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/formula.cc b/kspread/formula.cc index 0f70feaf..fbcf8c0e 100644 --- a/kspread/formula.cc +++ b/kspread/formula.cc @@ -134,7 +134,7 @@ Token::Op KSpread::matchOperator( const TQString& text ) if( text.length() == 1 ) { TQChar p = text[0]; - switch( p.tqunicode() ) + switch( p.unicode() ) { case '+': result = Token::Plus; break; case '-': result = Token::Minus; break; @@ -355,7 +355,7 @@ void TokenStack::ensureSpace() // helper function: return true for valid identifier character bool KSpread::isIdentifier( TQChar ch ) { - return ( ch.tqunicode() == '_' ) || (ch.tqunicode() == '$' ) || ( ch.isLetter() ); + return ( ch.unicode() == '_' ) || (ch.unicode() == '$' ) || ( ch.isLetter() ); } @@ -527,7 +527,7 @@ Tokens Formula::scan( const TQString& expr, KLocale* locale ) const } // aposthrophe (') marks sheet name for 3-d cell, e.g 'Sales Q3'!A4, or a named range - else if ( ch.tqunicode() == '\'' ) + else if ( ch.unicode() == '\'' ) { i++; state = InSheetOrAreaName; @@ -680,7 +680,7 @@ Tokens Formula::scan( const TQString& expr, KLocale* locale ) const case InSheetOrAreaName: // consume until ' - if ( ch.tqunicode() != '\'' ) + if ( ch.unicode() != '\'' ) tokenText.append( ex[i++] ); else |