diff options
author | Michele Calgaro <[email protected]> | 2023-11-06 11:38:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-07 11:19:13 +0900 |
commit | bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a (patch) | |
tree | 0c81e36cc908785f3f54b84c01949715558c53e6 /ktouch/src/ktouchstatisticsdata.cpp | |
parent | e25be387c170de2528fc2134604ffab9ac26a931 (diff) | |
download | tdeedu-bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a.tar.gz tdeedu-bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6)
Diffstat (limited to 'ktouch/src/ktouchstatisticsdata.cpp')
-rw-r--r-- | ktouch/src/ktouchstatisticsdata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 |