summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/tests')
-rw-r--r--lib/kofficecore/tests/filter_graph.cpp2
-rw-r--r--lib/kofficecore/tests/koxmlreadertest.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/tests/filter_graph.cpp b/lib/kofficecore/tests/filter_graph.cpp
index baead627..7ce1ed77 100644
--- a/lib/kofficecore/tests/filter_graph.cpp
+++ b/lib/kofficecore/tests/filter_graph.cpp
@@ -52,7 +52,7 @@ int main( int /*argc*/, char ** /*argv*/ )
if ( !key.isEmpty() ) {
output += " \"";
output += key.latin1();
- output += "\" [tqshape=box, style=filled, fillcolor=lightblue];\n";
+ output += "\" [shape=box, style=filled, fillcolor=lightblue];\n";
if ( vertices.find( key ) == vertices.end() )
vertices.append( key );
}
diff --git a/lib/kofficecore/tests/koxmlreadertest.cpp b/lib/kofficecore/tests/koxmlreadertest.cpp
index 5056e416..512dec71 100644
--- a/lib/kofficecore/tests/koxmlreadertest.cpp
+++ b/lib/kofficecore/tests/koxmlreadertest.cpp
@@ -639,7 +639,7 @@ void testDocument()
CHECK( doc.previousSibling().isNull(), true );
CHECK( doc.nextSibling().isNull(), true );
- // make sure its tqchildren are fine
+ // make sure its children are fine
KoXmlElement rootElement;
rootElement = doc.firstChild().toElement();
CHECK( rootElement.isNull(), false );
@@ -1887,7 +1887,7 @@ void testLargeOpenDocumentSpreadsheet()
xmlstream << "<office:spreadsheet>";
for( int i = 0; i < sheetCount; i++ )
{
- TQString sheetName = TQString("Sheet%1").tqarg(i+1);
+ TQString sheetName = TQString("Sheet%1").arg(i+1);
xmlstream << "<table:table table:name=\"" << sheetName;
xmlstream << "\" table:print=\"false\">";
for( int j = 0; j < rowCount; j++ )
@@ -1981,7 +1981,7 @@ void testLargeOpenDocumentSpreadsheet()
tableElement = spreadsheetElement.firstChild().toElement();
for( int table=0; table < sheetCount; table++ )
{
- TQString tableName = TQString("Sheet%1").tqarg(table+1);
+ TQString tableName = TQString("Sheet%1").arg(table+1);
CHECK( tableElement.isNull(), false );
CHECK( tableElement.isElement(), true );
CHECK( tableElement.localName(), TQString("table") );