summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_canvas.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_canvas.cc')
-rw-r--r--kspread/kspread_canvas.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kspread/kspread_canvas.cc b/kspread/kspread_canvas.cc
index d3cd81996..84c84fca0 100644
--- a/kspread/kspread_canvas.cc
+++ b/kspread/kspread_canvas.cc
@@ -2157,7 +2157,7 @@ void Canvas::processEscapeKey(TQKeyEvent * event)
activeSheet()->setRegionPaintDirty( oldBoundingRect );
tqrepaint( oldBoundingRect );
- tqrepaintObject( d->m_resizeObject );
+ repaintObject( d->m_resizeObject );
d->m_ratio = 0.0;
d->m_resizeObject = 0;
d->m_isResizing = false;
@@ -3307,7 +3307,7 @@ void Canvas::selectObject( EmbeddedObject *obj )
if ( obj->sheet() != activeSheet() || obj->isSelected() )
return;
obj->setSelected( true );
- tqrepaintObject( obj );
+ repaintObject( obj );
d->mouseSelectedObject = true;
emit objectSelectedChanged();
@@ -3319,7 +3319,7 @@ void Canvas::deselectObject( EmbeddedObject *obj )
if ( obj->sheet() != activeSheet() || !obj->isSelected() )
return;
obj->setSelected( false );
- tqrepaintObject( obj );
+ repaintObject( obj );
d->mouseSelectedObject = false;
emit objectSelectedChanged();
@@ -3572,11 +3572,11 @@ void Canvas::resizeObject( ModifyType _modType, const KoPoint & point, bool keep
// {
// sp.setY( rect.bottom() );
// }
-// m_gl.tqrepaintSnapping( sp, snaptqStatus );
+// m_gl.repaintSnapping( sp, snaptqStatus );
// }
tqrepaint( oldBoundingRect );
- tqrepaintObject( obj );
+ repaintObject( obj );
emit objectSizeChanged();
}
}
@@ -3603,7 +3603,7 @@ void Canvas::finishResizeObject( const TQString &/*name*/, bool /*tqlayout*/ )
d->m_ratio = 0.0;
d->m_isResizing = false;
- tqrepaintObject( d->m_resizeObject );
+ repaintObject( d->m_resizeObject );
d->m_resizeObject = NULL;
}
}
@@ -3817,7 +3817,7 @@ bool Canvas::createEditor( EditorType ed, bool addFocus, bool captureArrowKeys )
return true;
}
-void Canvas::tqrepaintObject( EmbeddedObject *obj )
+void Canvas::repaintObject( EmbeddedObject *obj )
{
//Calculate where the object appears on the canvas widget and then tqrepaint that part of the widget
TQRect canvasRelativeGeometry = doc()->zoomRect( obj->tqgeometry() );