|
|
|
@ -156,7 +156,7 @@ void Index::parseDocument( const TQString &filename, int docNum )
|
|
|
|
|
{
|
|
|
|
|
KviFile file( filename );
|
|
|
|
|
if ( !file.openForReading() ) {
|
|
|
|
|
tqWarning( "can not open file " + filename );
|
|
|
|
|
tqWarning( "can not open file %s", filename.ascii() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
TQTextStream s( &file );
|
|
|
|
@ -452,7 +452,7 @@ TQString Index::getDocumentTitle( const TQString &fileName )
|
|
|
|
|
|
|
|
|
|
if ( !file.openForReading() ) {
|
|
|
|
|
|
|
|
|
|
tqWarning( "cannot open file " + fileName );
|
|
|
|
|
tqWarning( "cannot open file %s", fileName.ascii() );
|
|
|
|
|
|
|
|
|
|
return fileName;
|
|
|
|
|
|
|
|
|
@ -701,7 +701,7 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList &
|
|
|
|
|
|
|
|
|
|
if ( !file.openForReading() ) {
|
|
|
|
|
|
|
|
|
|
tqWarning( "cannot open file " + fileName );
|
|
|
|
|
tqWarning( "cannot open file %s", fileName.ascii() );
|
|
|
|
|
|
|
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
|
@ -851,4 +851,4 @@ bool Index::searchForPattern( const TQStringList &patterns, const TQStringList &
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "index.moc"
|
|
|
|
|
#include "index.moc"
|
|
|
|
|