diff options
Diffstat (limited to 'kwordquiz/src/wqlwriter.cpp')
-rw-r--r-- | kwordquiz/src/wqlwriter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kwordquiz/src/wqlwriter.cpp b/kwordquiz/src/wqlwriter.cpp index e5314201..579561ff 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(outputFile); + outputStream.setDevice(TQT_TQIODEVICE(outputFile)); outputStream.setEncoding(TQTextStream::Latin1); outputStream << "WordQuiz" << winendl; @@ -35,16 +35,16 @@ void WqlWriter::writeFont( const TQFont & font ) outputStream << "[Font Info]" << winendl; outputStream << "FontName1=\"" << font.family() << "\"" << winendl; outputStream << "FontSize1=" << TQString::number(font.pointSize()) << winendl; - outputStream << TQString("FontBold1=%1").arg(font.bold() ? "1" : "0") <<winendl; - outputStream << TQString("FontItalic1=%1").arg(font.italic() ? "1" : "0") <<winendl; + outputStream << TQString("FontBold1=%1").tqarg(font.bold() ? "1" : "0") <<winendl; + outputStream << TQString("FontItalic1=%1").tqarg(font.italic() ? "1" : "0") <<winendl; outputStream << "FontColor1=0" << winendl; outputStream << "CharSet1=0" << winendl; outputStream << "Layout1=0" << winendl; outputStream << "FontName2=\"" << font.family() << "\"" << winendl; outputStream << "FontSize2=" << TQString::number(font.pointSize()) << winendl; - outputStream << TQString("FontBold2=%1").arg(font.bold() ? "1" : "0") <<winendl; - outputStream << TQString("FontItalic2=%1").arg(font.italic() ? "1" : "0") <<winendl; + outputStream << TQString("FontBold2=%1").tqarg(font.bold() ? "1" : "0") <<winendl; + outputStream << TQString("FontItalic2=%1").tqarg(font.italic() ? "1" : "0") <<winendl; outputStream << "FontColor2=0" << winendl; outputStream << "CharSet2=0" << winendl; outputStream << "Layout2=0" << winendl << winendl; @@ -83,7 +83,7 @@ void WqlWriter::writeFirstItem( const TQString & ll, const TQString & rl ) void WqlWriter::writeItem( const TQString & left, const TQString & right, int rh ) { - outputStream << left << TQString( " [%1]").arg(rh * 15, 10, 10 ) << winendl ; + outputStream << left << TQString( " [%1]").tqarg(rh * 15, 10, 10 ) << winendl ; outputStream << right << winendl; } |