From c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:38:51 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- ktouch/src/ktouchstatisticsdata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ktouch/src/ktouchstatisticsdata.cpp') diff --git a/ktouch/src/ktouchstatisticsdata.cpp b/ktouch/src/ktouchstatisticsdata.cpp index 6bf98716..cf7c723b 100644 --- a/ktouch/src/ktouchstatisticsdata.cpp +++ b/ktouch/src/ktouchstatisticsdata.cpp @@ -94,7 +94,7 @@ bool KTouchLevelStats::read(TQDomNode in) { if (!n.isNull()) { TQString timestring = n.firstChild().nodeValue(); if (timestring != TQString()) - m_timeRecorded = TQDateTime::fromString(timestring, Qt::ISODate); + m_timeRecorded = TQDateTime::fromString(timestring, TQt::ISODate); } // read characters n = in.namedItem("CharStats"); @@ -121,7 +121,7 @@ void KTouchLevelStats::write(TQDomDocument& doc, TQDomElement& root) const { level.setAttribute("Words", m_words); // add time TQDomElement e = doc.createElement("Time"); - TQDomText tn = doc.createTextNode(m_timeRecorded.toString(Qt::ISODate)); + TQDomText tn = doc.createTextNode(m_timeRecorded.toString(TQt::ISODate)); e.appendChild(tn); level.appendChild(e); // add char stats @@ -236,7 +236,7 @@ bool KTouchSessionStats::read(TQDomNode in) { if (!n.isNull()) { TQString timestring = n.firstChild().nodeValue(); if (timestring != TQString()) - m_timeRecorded = TQDateTime::fromString(timestring, Qt::ISODate); + m_timeRecorded = TQDateTime::fromString(timestring, TQt::ISODate); } // read level numbers n = in.namedItem("LevelNums"); @@ -272,7 +272,7 @@ void KTouchSessionStats::write(TQDomDocument& doc, TQDomElement& root) const { session.setAttribute("Words", m_words); // add time TQDomElement e = doc.createElement("Time"); - TQDomText tn = doc.createTextNode(m_timeRecorded.toString(Qt::ISODate)); + TQDomText tn = doc.createTextNode(m_timeRecorded.toString(TQt::ISODate)); e.appendChild(tn); session.appendChild(e); // add levels -- cgit v1.2.3