summaryrefslogtreecommitdiffstats
path: root/src/modules/help/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/index.cpp')
-rwxr-xr-xsrc/modules/help/index.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp
index ba5e72f3..46dc4f22 100755
--- a/src/modules/help/index.cpp
+++ b/src/modules/help/index.cpp
@@ -329,7 +329,7 @@ TQStringList Index::query( const TQStringList &terms, const TQStringList &termSe
Entry *e = 0;
- if ( (*it).tqcontains( '*' ) ) {
+ if ( (*it).contains( '*' ) ) {
KviValueList<Document> wcts = setupDummyTerm( getWildcardTerms( *it ) );
@@ -464,9 +464,9 @@ TQString Index::getDocumentTitle( const TQString &fileName )
- int start = text.tqfind( "<title>", 0, FALSE ) + 7;
+ int start = text.find( "<title>", 0, FALSE ) + 7;
- int end = text.tqfind( "</title>", 0, FALSE );
+ int end = text.find( "</title>", 0, FALSE );
@@ -521,11 +521,11 @@ TQStringList Index::getWildcardTerms( const TQString &term )
}
- index = text.tqfind( *iter, index );
+ index = text.find( *iter, index );
if ( *iter == terms.last() && index != (int)text.length()-1 ) {
- index = text.tqfindRev( *iter );
+ index = text.findRev( *iter );
if ( index != (int)text.length() - (int)(*iter).length() ) {
@@ -577,7 +577,7 @@ TQStringList Index::split( const TQString &str )
int j = 0;
- int i = str.tqfind( '*', j );
+ int i = str.find( '*', j );
@@ -593,7 +593,7 @@ TQStringList Index::split( const TQString &str )
j = i + 1;
- i = str.tqfind( '*', j );
+ i = str.find( '*', j );
}
@@ -663,7 +663,7 @@ KviValueList<Document> Index::setupDummyTerm( const TQStringList &terms )
for ( docIt = docs.begin(); docIt != docs.end(); ++docIt ) {
- if ( maxList.tqfindIndex( *docIt ) == -1 )
+ if ( maxList.findIndex( *docIt ) == -1 )
maxList.append( *docIt );
@@ -823,7 +823,7 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList &
while ( aIt != a.end() ) {
- if ( b.tqfind( *aIt + 1 ) != b.end() ) {
+ if ( b.find( *aIt + 1 ) != b.end() ) {
(*aIt)++;