summaryrefslogtreecommitdiffstats
path: root/ktouch
diff options
context:
space:
mode:
Diffstat (limited to 'ktouch')
-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