summaryrefslogtreecommitdiffstats
path: root/ktouch/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:38:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:19:13 +0900
commitbcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a (patch)
tree0c81e36cc908785f3f54b84c01949715558c53e6 /ktouch/src
parente25be387c170de2528fc2134604ffab9ac26a931 (diff)
downloadtdeedu-bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a.tar.gz
tdeedu-bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6)
Diffstat (limited to 'ktouch/src')
-rw-r--r--ktouch/src/ktouchslideline.h6
-rw-r--r--ktouch/src/ktouchstatisticsdata.cpp8
2 files changed, 7 insertions, 7 deletions
diff --git a/ktouch/src/ktouchslideline.h b/ktouch/src/ktouchslideline.h
index f438366a..97c1e51e 100644
--- a/ktouch/src/ktouchslideline.h
+++ b/ktouch/src/ktouchslideline.h
@@ -121,8 +121,8 @@ class KTouchSlideLine : public TQWidget {
TQColor m_cursorBackground; ///< Defines the background colour of the cursor (when turned off).
// variables depending on size of widget, will be updated in resizeEvent()
- int m_marginVerWidget; ///<Qt::Vertical margin between widget boundary and sliding line in pixels.
- int m_slideLineDist; ///<Qt::Vertical distance between sliding lines in pixels.
+ int m_marginVerWidget; ///< Vertical margin between widget boundary and sliding line in pixels.
+ int m_slideLineDist; ///< Vertical distance between sliding lines in pixels.
int m_slideLineHeight; ///< Height of a sliding line in pixels.
int m_marginCursor; ///< The margin for cursor movement (minimum distance from left and right ends of slide line boundaries).
@@ -133,7 +133,7 @@ class KTouchSlideLine : public TQWidget {
int m_yCursorStudent; ///< Cursor top y coordinate (from top of visible area) in the student line.
// newly defined variables, will be updated on the setNewText() and partially in setStudentText()
- int m_marginHorWidget; ///<Qt::Horizontal margin between widget boundary and sliding line in pixels.
+ int m_marginHorWidget; ///< Horizontal margin between widget boundary and sliding line in pixels.
int m_slideLineWidth; ///< The length of the sliding line in pixels.
int m_cursorRangeLen; ///< Length (in pixel) that the cursor can move between left and right margin.
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