From 96a33d90689a46ea58f812d76fdd2eaf93edecfa Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 08:24:43 +0000 Subject: Additional TQt for Qt4 compilation fixes This should not affect TQt for Qt3 per usual git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/test_regression.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'khtml/test_regression.cpp') diff --git a/khtml/test_regression.cpp b/khtml/test_regression.cpp index c756dc2ea..982539621 100644 --- a/khtml/test_regression.cpp +++ b/khtml/test_regression.cpp @@ -350,7 +350,7 @@ Value KHTMLPartFunction::call(ExecState *exec, Object &/*thisObj*/, const List & char buf[1024]; int bytesread; while (!file.atEnd()) { - bytesread = file.readBlock(buf,1024); + bytesread = file.tqreadBlock(buf,1024); stream.writeRawBytes(buf,bytesread); } file.close(); @@ -642,7 +642,7 @@ int main(int argc, char *argv[]) link = TQString( "
%1 failures. (%2 expected failures)" ) .arg(regressionTest->m_failures_work ) .arg( regressionTest->m_failures_fail ); - list.writeBlock( link.latin1(), link.length() ); + list.tqwriteBlock( link.latin1(), link.length() ); list.close(); } } @@ -697,12 +697,12 @@ RegressionTest::RegressionTest(KHTMLPart *part, const TQString &baseDir, const T TQString s; f.open( IO_WriteOnly | IO_Truncate ); s = "Follow the white rabbit"; - f.writeBlock( s.latin1(), s.length() ); + f.tqwriteBlock( s.latin1(), s.length() ); f.close(); f.setName( m_outputDir + "/index.html" ); f.open( IO_WriteOnly | IO_Truncate ); s = ""; - f.writeBlock( s.latin1(), s.length() ); + f.tqwriteBlock( s.latin1(), s.length() ); f.close(); m_paintBuffer = 0; @@ -1032,7 +1032,7 @@ void RegressionTest::createLink( const TQString& test, int failures ) if ( failures & PaintFailure ) link += "P"; link += "]
\n"; - list.writeBlock( link.latin1(), link.length() ); + list.tqwriteBlock( link.latin1(), link.length() ); list.close(); } @@ -1056,7 +1056,7 @@ void RegressionTest::doJavascriptReport( const TQString &test ) text.replace( '\n', "
\n" ); cl += text; cl += ""; - compare.writeBlock( cl.latin1(), cl.length() ); + compare.tqwriteBlock( cl.latin1(), cl.length() ); compare.close(); } @@ -1248,7 +1248,7 @@ void RegressionTest::doFailureReport( const TQString& test, int failures ) cl += "
" + domDiff + "
"; cl += ""; - compare.writeBlock( cl.latin1(), cl.length() ); + compare.tqwriteBlock( cl.latin1(), cl.length() ); compare.close(); } -- cgit v1.2.1