summaryrefslogtreecommitdiffstats
path: root/src/kchmsearchengine_impl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit8cbd3f41229fc385698bfd9a5524ba2610777543 (patch)
tree05595d691d2d657866204352d65e5b85cfd30384 /src/kchmsearchengine_impl.cpp
parent411ae7c171b854c759cc87a403add976a2b516ee (diff)
downloadkchmviewer-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_impl.cpp')
-rw-r--r--src/kchmsearchengine_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kchmsearchengine_impl.cpp b/src/kchmsearchengine_impl.cpp
index 52515c7..646f261 100644
--- a/src/kchmsearchengine_impl.cpp
+++ b/src/kchmsearchengine_impl.cpp
@@ -293,14 +293,14 @@ bool Index::parseDocumentToStringlist( const TQString & filename, TQStringList &
// Ok, we have a valid character outside HTML tags, and probably some in buffer already.
// If it is char or letter, add it and continue
- if ( ch.isLetterOrNumber() || m_charsword.tqfind( ch ) != -1 )
+ if ( ch.isLetterOrNumber() || m_charsword.find( ch ) != -1 )
{
parsedbuf.append( ch );
continue;
}
// If it is a split char, add the word to the dictionary, and then add the char itself.
- if ( m_charssplit.tqfind( ch ) != -1 )
+ if ( m_charssplit.find( ch ) != -1 )
{
if ( !parsedbuf.isEmpty() )
tokenlist.push_back( parsedbuf.lower() );
@@ -551,7 +551,7 @@ bool Index::searchForPhrases( const TQStringList &phrases, const TQStringList &w
while ( dict_it != first_word_positions.end() )
{
- if ( next_word_it.tqfind( *dict_it + 1 ) != next_word_it.end() )
+ if ( next_word_it.find( *dict_it + 1 ) != next_word_it.end() )
{
(*dict_it)++;
++dict_it;