From 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:55:10 -0600 Subject: Remove additional unneeded tq method conversions --- ktouch/src/ktouchstatisticsdata.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ktouch/src/ktouchstatisticsdata.cpp') diff --git a/ktouch/src/ktouchstatisticsdata.cpp b/ktouch/src/ktouchstatisticsdata.cpp index f1b60dd0..17e095da 100644 --- a/ktouch/src/ktouchstatisticsdata.cpp +++ b/ktouch/src/ktouchstatisticsdata.cpp @@ -137,8 +137,8 @@ void KTouchLevelStats::write(TQDomDocument& doc, TQDomElement& root) const { TQString char_data; // we append for each missed char the char-tqunicode and the counters for (std::set::const_iterator it=m_charStats.begin(); it!=m_charStats.end(); ++it) - char_data += TQString(" %1 %2 %3").tqarg(it->m_char.tqunicode()) - .tqarg(it->m_correctCount).tqarg(it->m_wrongCount); + char_data += TQString(" %1 %2 %3").arg(it->m_char.tqunicode()) + .arg(it->m_correctCount).arg(it->m_wrongCount); e = doc.createElement("CharStats"); tn = doc.createTextNode(char_data); e.appendChild(tn); @@ -295,7 +295,7 @@ void KTouchSessionStats::write(TQDomDocument& doc, TQDomElement& root) const { // add levels TQString level_nums; for (std::set::const_iterator it = m_levelNums.begin(); it != m_levelNums.end(); ++it) - level_nums += TQString( " %1").tqarg(*it); + level_nums += TQString( " %1").arg(*it); e = doc.createElement("LevelNums"); tn = doc.createTextNode(level_nums); e.appendChild(tn); @@ -304,8 +304,8 @@ void KTouchSessionStats::write(TQDomDocument& doc, TQDomElement& root) const { TQString char_data; // we append for each missed char the char-tqunicode and the counters for (std::set::const_iterator it=m_charStats.begin(); it!=m_charStats.end(); ++it) - char_data += TQString(" %1 %2 %3").tqarg(it->m_char.tqunicode()) - .tqarg(it->m_correctCount).tqarg(it->m_wrongCount); + char_data += TQString(" %1 %2 %3").arg(it->m_char.tqunicode()) + .arg(it->m_correctCount).arg(it->m_wrongCount); e = doc.createElement("CharStats"); tn = doc.createTextNode(char_data); e.appendChild(tn); -- cgit v1.2.1