summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/kvtmlwriter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /kwordquiz/src/kvtmlwriter.cpp
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kwordquiz/src/kvtmlwriter.cpp')
-rw-r--r--kwordquiz/src/kvtmlwriter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kwordquiz/src/kvtmlwriter.cpp b/kwordquiz/src/kvtmlwriter.cpp
index dc123113..4855dbf2 100644
--- a/kwordquiz/src/kvtmlwriter.cpp
+++ b/kwordquiz/src/kvtmlwriter.cpp
@@ -35,10 +35,10 @@ KVTMLWriter::KVTMLWriter(TQFile *file)
void KVTMLWriter::addHeader(const TQString &generator, int cols, int rows, const TQString &title)
{
TQString s = TQString("<kvtml\n generator=\"%1\"\n cols=\"%2\"\n lines=\"%3\"\n title=\"%4\">")
- .tqarg(generator)
- .tqarg(cols)
- .tqarg(rows)
- .tqarg(title);
+ .arg(generator)
+ .arg(cols)
+ .arg(rows)
+ .arg(title);
outputStream << s << endl << endl;
}
@@ -50,12 +50,12 @@ void KVTMLWriter::addFirstItem(const TQString &ll, int lwidth, const TQString &l
{
outputStream << " <e>" << endl;
TQString s = TQString(" <o width=\"%1\" l=\"%2\">")
- .tqarg(lwidth)
- .tqarg(ll);
+ .arg(lwidth)
+ .arg(ll);
outputStream << s << escape(left) << "</o>" << endl;
s = TQString(" <t width=\"%1\" l=\"%2\">")
- .tqarg(rwidth)
- .tqarg(rl);
+ .arg(rwidth)
+ .arg(rl);
outputStream << s << escape(right) << "</t>" << endl;
outputStream << " </e>" << endl;
}