summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-23 11:24:09 +0900
committerMichele Calgaro <[email protected]>2023-11-23 11:49:35 +0900
commit89c8032171eb722341972a56d0a0c8a003042511 (patch)
treefcc02c37f4280c91fffd3fe2dd7537846f78221a /tdehtml
parente84b6d8935842fb8dcee9dc42f8f35f36ee72748 (diff)
downloadtdelibs-89c8032171eb722341972a56d0a0c8a003042511.tar.gz
tdelibs-89c8032171eb722341972a56d0a0c8a003042511.zip
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d42f9ae842840a825c4ad4f7341f82003127c8f6)
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/test_regression.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdehtml/test_regression.cpp b/tdehtml/test_regression.cpp
index 6e8ba9a3d..400ff1ac3 100644
--- a/tdehtml/test_regression.cpp
+++ b/tdehtml/test_regression.cpp
@@ -350,7 +350,7 @@ Value TDEHTMLPartFunction::call(ExecState *exec, Object &/*thisObj*/, const List
char buf[1024];
int bytesread;
while (!file.atEnd()) {
- bytesread = file.tqreadBlock(buf,1024);
+ bytesread = file.readBlock(buf,1024);
stream.writeRawBytes(buf,bytesread);
}
file.close();
@@ -642,7 +642,7 @@ int main(int argc, char *argv[])
link = TQString( "<hr>%1 failures. (%2 expected failures)" )
.arg(regressionTest->m_failures_work )
.arg( regressionTest->m_failures_fail );
- list.tqwriteBlock( link.latin1(), link.length() );
+ list.writeBlock( link.latin1(), link.length() );
list.close();
}
}
@@ -697,12 +697,12 @@ RegressionTest::RegressionTest(TDEHTMLPart *part, const TQString &baseDir, const
TQString s;
f.open( IO_WriteOnly | IO_Truncate );
s = "<html><body>Follow the white rabbit";
- f.tqwriteBlock( s.latin1(), s.length() );
+ f.writeBlock( s.latin1(), s.length() );
f.close();
f.setName( m_outputDir + "/index.html" );
f.open( IO_WriteOnly | IO_Truncate );
s = "<html><frameset cols=150,*><frame src=links.html><frame name=content src=empty.html>";
- f.tqwriteBlock( s.latin1(), s.length() );
+ f.writeBlock( 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 += "]<br>\n";
- list.tqwriteBlock( link.latin1(), link.length() );
+ list.writeBlock( link.latin1(), link.length() );
list.close();
}
@@ -1056,7 +1056,7 @@ void RegressionTest::doJavascriptReport( const TQString &test )
text.replace( '\n', "<br>\n" );
cl += text;
cl += "</tt></body></html>";
- compare.tqwriteBlock( cl.latin1(), cl.length() );
+ compare.writeBlock( cl.latin1(), cl.length() );
compare.close();
}
@@ -1248,7 +1248,7 @@ void RegressionTest::doFailureReport( const TQString& test, int failures )
cl += "<div id='dom' class='diff'>" + domDiff + "</div>";
cl += "</body></html>";
- compare.tqwriteBlock( cl.latin1(), cl.length() );
+ compare.writeBlock( cl.latin1(), cl.length() );
compare.close();
}