summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchslideline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktouch/src/ktouchslideline.cpp')
-rw-r--r--ktouch/src/ktouchslideline.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ktouch/src/ktouchslideline.cpp b/ktouch/src/ktouchslideline.cpp
index 07078978..d7eff3fd 100644
--- a/ktouch/src/ktouchslideline.cpp
+++ b/ktouch/src/ktouchslideline.cpp
@@ -237,8 +237,8 @@ void KTouchSlideLine::resizeEvent ( TQResizeEvent * ) {
KD_DEBUG( "[KTouchSlideLine::resizeEvent]" << endl );
// required input member variables: none
- // when the widget is resized, the whole tqgeometry is invalidated, so we do:
- // 1. recalculate and store the tqgeometry of the sliding lines
+ // when the widget is resized, the whole geometry is invalidated, so we do:
+ // 1. recalculate and store the geometry of the sliding lines
// 2. resize the font
// 3. recreate the sliding lines (this is done from the resizeFont() function
@@ -411,7 +411,7 @@ void KTouchSlideLine::updateSlidingLines() {
// draw the teacher pixmap text
TQPainter painter;
- painter.tqbegin (TQT_TQPAINTDEVICE(m_teacherPixmap), this);
+ painter.begin (TQT_TQPAINTDEVICE(m_teacherPixmap), this);
painter.setFont( m_font );
TQColor col_tt = Prefs::commonTypingLineColors() ?
@@ -443,7 +443,7 @@ void KTouchSlideLine::updateSlidingLines() {
KD_DEBUG( " m_studentPixmap = " << w+100 << " x " << h << endl );
// update (draw) student line and calculate coordinates needed for sliding
- tqrepaint(true); // trigger a paint event to erase the background
+ repaint(true); // trigger a paint event to erase the background
updateStudentLine();
}
// ----------------------------------------------------------------------------
@@ -532,7 +532,7 @@ void KTouchSlideLine::updateStudentLine() {
// now let's draw the students pixmap
TQPainter painter;
- painter.tqbegin (TQT_TQPAINTDEVICE(m_studentPixmap), this);
+ painter.begin (TQT_TQPAINTDEVICE(m_studentPixmap), this);
if (Prefs::colorOnError()) {
// draw the student line depending on the colour settings
if (error) {