From ebabab113252ed75baf5c8181937f14c55a8886b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:18:52 -0600 Subject: Rename additional global TQt functions --- src/kchmsearchengine_impl.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/kchmsearchengine_impl.cpp') diff --git a/src/kchmsearchengine_impl.cpp b/src/kchmsearchengine_impl.cpp index b4b2c3a..0352ee3 100644 --- a/src/kchmsearchengine_impl.cpp +++ b/src/kchmsearchengine_impl.cpp @@ -163,13 +163,13 @@ bool Index::parseDocumentToStringlist( const TQString & filename, TQStringList & if ( !::mainWindow->chmFile()->getFileContentAsString( &text, filename ) ) { - qWarning( "Index::parseDocument: Could not retrieve the content at %s", filename.ascii() ); + tqWarning( "Index::parseDocument: Could not retrieve the content at %s", filename.ascii() ); return false; } if ( text.isNull() ) { - qWarning( "Index::parseDocument: Retrieved content for %s is empty", filename.ascii() ); + tqWarning( "Index::parseDocument: Retrieved content for %s is empty", filename.ascii() ); return false; } @@ -243,7 +243,7 @@ bool Index::parseDocumentToStringlist( const TQString & filename, TQStringList & parsedbuf += "&"; } else - qWarning( "Index::parseDocument: incorrectly terminated HTML entity '&%s%c', ignoring", parseentity.ascii(), ch.latin1() ); + tqWarning( "Index::parseDocument: incorrectly terminated HTML entity '&%s%c', ignoring", parseentity.ascii(), ch.latin1() ); j--; // parse this character again, but in different state continue; @@ -257,7 +257,7 @@ bool Index::parseDocumentToStringlist( const TQString & filename, TQStringList & if ( entity.isNull() ) { // decodeEntity() already printed error message - //qWarning( "Index::parseDocument: failed to decode entity &%s;", parsedbuf.ascii() ); + //tqWarning( "Index::parseDocument: failed to decode entity &%s;", parsedbuf.ascii() ); continue; } @@ -346,7 +346,7 @@ void Index::writeDict() if ( !f.open( IO_WriteOnly ) ) { - qWarning( "Index::writeDict: could not write dictionary file %s", dictFile.ascii() ); + tqWarning( "Index::writeDict: could not write dictionary file %s", dictFile.ascii() ); return; } @@ -371,7 +371,7 @@ void Index::writeDocumentList() TQFile f( docListFile ); if ( !f.open( IO_WriteOnly ) ) { - qWarning( "Index::writeDocumentList: could not write dictionary file %s", docListFile.ascii() ); + tqWarning( "Index::writeDocumentList: could not write dictionary file %s", docListFile.ascii() ); return; } TQDataStream s( &f ); @@ -533,7 +533,7 @@ bool Index::searchForPhrases( const TQStringList &phrases, const TQStringList &w for ( unsigned int i = 1; i < pos.size(); i++ ) text += " " + TQString::number( pos[i] ); - qDebug( "%s", text.ascii()); + tqDebug( "%s", text.ascii()); } */ -- cgit v1.2.3