summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/wqlwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwordquiz/src/wqlwriter.cpp')
-rw-r--r--kwordquiz/src/wqlwriter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kwordquiz/src/wqlwriter.cpp b/kwordquiz/src/wqlwriter.cpp
index 579561ff..2052c079 100644
--- a/kwordquiz/src/wqlwriter.cpp
+++ b/kwordquiz/src/wqlwriter.cpp
@@ -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").tqarg(font.bold() ? "1" : "0") <<winendl;
- outputStream << TQString("FontItalic1=%1").tqarg(font.italic() ? "1" : "0") <<winendl;
+ outputStream << TQString("FontBold1=%1").arg(font.bold() ? "1" : "0") <<winendl;
+ outputStream << TQString("FontItalic1=%1").arg(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").tqarg(font.bold() ? "1" : "0") <<winendl;
- outputStream << TQString("FontItalic2=%1").tqarg(font.italic() ? "1" : "0") <<winendl;
+ outputStream << TQString("FontBold2=%1").arg(font.bold() ? "1" : "0") <<winendl;
+ outputStream << TQString("FontItalic2=%1").arg(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]").tqarg(rh * 15, 10, 10 ) << winendl ;
+ outputStream << left << TQString( " [%1]").arg(rh * 15, 10, 10 ) << winendl ;
outputStream << right << winendl;
}