summaryrefslogtreecommitdiffstats
path: root/kwordquiz
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:40:38 +0900
commitc75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf (patch)
treeb3315369fc4a83faa3679957c98da185b285baa3 /kwordquiz
parentc407c4552feb9568ca2aef8c42288e30b7d0f034 (diff)
downloadtdeedu-c75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf.tar.gz
tdeedu-c75fee7ff7bdf6e1d1380e641c746e3fc7eb04bf.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f08f58fdc18573fbdf637e872a0a4646be58628c)
Diffstat (limited to 'kwordquiz')
-rw-r--r--kwordquiz/src/kvtmlwriter.cpp2
-rw-r--r--kwordquiz/src/wqlwriter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kwordquiz/src/kvtmlwriter.cpp b/kwordquiz/src/kvtmlwriter.cpp
index 4855dbf2..787cabab 100644
--- a/kwordquiz/src/kvtmlwriter.cpp
+++ b/kwordquiz/src/kvtmlwriter.cpp
@@ -21,7 +21,7 @@ KVTMLWriter::KVTMLWriter(TQFile *file)
outputFile = file;
if(outputFile->open(IO_WriteOnly))
{
- outputStream.setDevice(TQT_TQIODEVICE(outputFile));
+ outputStream.setDevice(outputFile);
outputStream.setEncoding(TQTextStream::UnicodeUTF8);
outputStream << "<?xml version=\"1.0\"?>" << endl;
diff --git a/kwordquiz/src/wqlwriter.cpp b/kwordquiz/src/wqlwriter.cpp
index 2052c079..e5314201 100644
--- a/kwordquiz/src/wqlwriter.cpp
+++ b/kwordquiz/src/wqlwriter.cpp
@@ -22,7 +22,7 @@ WqlWriter::WqlWriter(TQFile *file)
outputFile = file;
if(outputFile->open(IO_WriteOnly))
{
- outputStream.setDevice(TQT_TQIODEVICE(outputFile));
+ outputStream.setDevice(outputFile);
outputStream.setEncoding(TQTextStream::Latin1);
outputStream << "WordQuiz" << winendl;