diff options
Diffstat (limited to 'karbon/widgets')
-rw-r--r-- | karbon/widgets/vcanvas.cc | 2 | ||||
-rw-r--r-- | karbon/widgets/vruler.cc | 10 | ||||
-rw-r--r-- | karbon/widgets/vstrokefillpreview.cc | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/karbon/widgets/vcanvas.cc b/karbon/widgets/vcanvas.cc index d0a1b6b7..9fa5dcd6 100644 --- a/karbon/widgets/vcanvas.cc +++ b/karbon/widgets/vcanvas.cc @@ -152,7 +152,7 @@ VCanvas::eventFilter( TQObject* object, TQEvent* event ) } -// This causes a tqrepaint normally, so just overwriting it omits the repainting +// This causes a repaint normally, so just overwriting it omits the repainting void VCanvas::focusInEvent( TQFocusEvent * ) { diff --git a/karbon/widgets/vruler.cc b/karbon/widgets/vruler.cc index 0fd21cc1..28b7db9f 100644 --- a/karbon/widgets/vruler.cc +++ b/karbon/widgets/vruler.cc @@ -114,7 +114,7 @@ void VRuler::setUnit(KoUnit::Unit u) m_unit = u; drawRuler(); updatePointer(m_currentPosition, m_currentPosition); - tqrepaint(); + repaint(); } void VRuler::setZoom(double zoom) @@ -123,7 +123,7 @@ void VRuler::setZoom(double zoom) recalculateSize(); drawRuler(); updatePointer(m_currentPosition, m_currentPosition); - tqrepaint(); + repaint(); } void VRuler::updatePointer(TQ_INT32 x, TQ_INT32 y) @@ -131,7 +131,7 @@ void VRuler::updatePointer(TQ_INT32 x, TQ_INT32 y) if (m_pixmapBuffer) { if (m_orientation == Qt::Horizontal) { if (m_currentPosition != -1) - tqrepaint(m_currentPosition, 1, MARKER_WIDTH, MARKER_HEIGHT); + repaint(m_currentPosition, 1, MARKER_WIDTH, MARKER_HEIGHT); if (x != -1) { bitBlt(this, x, 1, &m_pixmapMarker, 0, 0, MARKER_WIDTH, MARKER_HEIGHT); @@ -139,7 +139,7 @@ void VRuler::updatePointer(TQ_INT32 x, TQ_INT32 y) } } else { if (m_currentPosition != -1) - tqrepaint(1, m_currentPosition, MARKER_HEIGHT, MARKER_WIDTH); + repaint(1, m_currentPosition, MARKER_HEIGHT, MARKER_WIDTH); if (y != -1) { bitBlt(this, 1, y, &m_pixmapMarker, 0, 0, MARKER_HEIGHT, MARKER_WIDTH); @@ -158,7 +158,7 @@ void VRuler::updateVisibleArea(TQ_INT32 xpos, TQ_INT32 ypos) //kdDebug() << "--###-- VRuler::updateVisibleArea(" << xpos << ", " << ypos << ")" << endl; drawRuler(); - tqrepaint(); + repaint(); updatePointer(m_currentPosition, m_currentPosition); //kdDebug() << "--###-- VRuler::updatePointer(" << m_currentPosition << ", " << m_currentPosition << ")" << endl; } diff --git a/karbon/widgets/vstrokefillpreview.cc b/karbon/widgets/vstrokefillpreview.cc index 473ce4db..f69d5d85 100644 --- a/karbon/widgets/vstrokefillpreview.cc +++ b/karbon/widgets/vstrokefillpreview.cc @@ -195,7 +195,7 @@ VStrokeFillPreview::update( const VStroke &s, const VFill &f ) m_painter->end(); - tqrepaint(); + repaint(); } void |