summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 11:24:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 11:24:09 +0900
commitd42f9ae842840a825c4ad4f7341f82003127c8f6 (patch)
treebd64982422408b4a7662280134119037ece4da3b /kate/part
parent73dba53e4a36a31d7c803806706cc8a17a245e5c (diff)
downloadtdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.tar.gz
tdelibs-d42f9ae842840a825c4ad4f7341f82003127c8f6.zip
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/test_regression.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kate/part/test_regression.cpp b/kate/part/test_regression.cpp
index d0443da71..be91d6d32 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(" <p style=\"color:green;font-weight:bold\">%1 new passes since %2</p>")
.arg(regressionTest->m_passes_new)
.arg(regressionTest->m_failureComp->group());
- list.tqwriteBlock( link.latin1(), link.length() );
+ list.writeBlock( link.latin1(), link.length() );
list.close();
}
}
@@ -681,12 +681,12 @@ RegressionTest::RegressionTest(KateDocument *part, TDEConfig *baseConfig,
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();
curr = this;
@@ -848,7 +848,7 @@ void RegressionTest::createLink( const TQString& test, int failures )
if (failures & NewFailure)
link += "</span>";
link += "<br>\n";
- list.tqwriteBlock( link.latin1(), link.length() );
+ list.writeBlock( link.latin1(), link.length() );
list.close();
}
@@ -1020,7 +1020,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();
}