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 --- kate/part/test_regression.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kate/part/test_regression.cpp') diff --git a/kate/part/test_regression.cpp b/kate/part/test_regression.cpp index 9fee1654b..ac1d8bdf5 100644 --- a/kate/part/test_regression.cpp +++ b/kate/part/test_regression.cpp @@ -628,7 +628,7 @@ int main(int argc, char *argv[]) link += TQString("

%1 new passes since %2

") .arg(regressionTest->m_passes_new) .arg(regressionTest->m_failureComp->group()); - list.writeBlock( link.latin1(), link.length() ); + list.tqwriteBlock( link.latin1(), link.length() ); list.close(); } } @@ -681,12 +681,12 @@ RegressionTest::RegressionTest(KateDocument *part, KConfig *baseConfig, 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(); curr = this; @@ -848,7 +848,7 @@ void RegressionTest::createLink( const TQString& test, int failures ) if (failures & NewFailure) link += ""; link += "
\n"; - list.writeBlock( link.latin1(), link.length() ); + list.tqwriteBlock( link.latin1(), link.length() ); list.close(); } @@ -1020,7 +1020,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