diff options
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 |