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 | 8cbd3f41229fc385698bfd9a5524ba2610777543 (patch) | |
tree | 05595d691d2d657866204352d65e5b85cfd30384 /src/kchmsearchengine.cpp | |
parent | 411ae7c171b854c759cc87a403add976a2b516ee (diff) | |
download | kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.tar.gz kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmsearchengine.cpp')
-rw-r--r-- | src/kchmsearchengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmsearchengine.cpp b/src/kchmsearchengine.cpp index cf79e2b..a5f0a11 100644 --- a/src/kchmsearchengine.cpp +++ b/src/kchmsearchengine.cpp @@ -218,14 +218,14 @@ bool KCHMSearchEngine::searchQuery( const TQString & query, TQStringList * resul } // If new char does not stop the word, add ot and continue - if ( ch.isLetterOrNumber() || partOfWordChars.tqfind( ch ) != -1 ) + if ( ch.isLetterOrNumber() || partOfWordChars.find( ch ) != -1 ) { term.append( ch ); continue; } // If it is a split char, add this term and split char as separate term - if ( splitChars.tqfind( ch ) != -1 ) + if ( splitChars.find( ch ) != -1 ) { // Add existing term if present keeper.addTerm( term ); |