summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchstatisticsdata.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:38:51 +0900
committerMichele Calgaro <[email protected]>2023-11-07 11:19:13 +0900
commitbcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a (patch)
tree0c81e36cc908785f3f54b84c01949715558c53e6 /ktouch/src/ktouchstatisticsdata.cpp
parente25be387c170de2528fc2134604ffab9ac26a931 (diff)
downloadtdeedu-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.cpp8
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