diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kspread/kspread_format.cc | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/kspread_format.cc')
-rw-r--r-- | kspread/kspread_format.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/kspread_format.cc b/kspread/kspread_format.cc index 95898cd3..73c0bbff 100644 --- a/kspread/kspread_format.cc +++ b/kspread/kspread_format.cc @@ -3429,15 +3429,15 @@ Currency::Currency(TQString const & code, currencyFormat format) if ( format == Gnumeric ) { // I use TQChar(c,r) here so that this file can be opened in any encoding... - if ( code.tqfind( TQChar( 172, 32 ) ) != -1 ) // Euro sign + if ( code.find( TQChar( 172, 32 ) ) != -1 ) // Euro sign m_code = TQChar( 172, 32 ); - else if ( code.tqfind( TQChar( 163, 0 ) ) != -1 ) // Pound sign + else if ( code.find( TQChar( 163, 0 ) ) != -1 ) // Pound sign m_code = TQChar( 163, 0 ); - else if ( code.tqfind( TQChar( 165, 0 ) ) != -1 ) // Yen sign + else if ( code.find( TQChar( 165, 0 ) ) != -1 ) // Yen sign m_code = TQChar( 165, 0 ); else if ( code[0] == '[' && code[1] == '$' ) { - int n = code.tqfind(']'); + int n = code.find(']'); if (n != -1) { m_code = code.mid( 2, n - 2 ); @@ -3447,7 +3447,7 @@ Currency::Currency(TQString const & code, currencyFormat format) m_type = 0; } } - else if ( code.tqfind( '$' ) != -1 ) + else if ( code.find( '$' ) != -1 ) m_code = "$"; } // end gnumeric m_type = gCurrencyMap.getIndex( m_code ); |