diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
| commit | afbfdc507bfaafc8824a9808311d57a9ece87510 (patch) | |
| tree | 47be45bbd69c321ce79e14b683e59318748be9cb /kspread/kspread_canvas.cc | |
| parent | 880d042b2902fae8007f202dd35ad9330499867b (diff) | |
| download | koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.tar.gz koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.zip | |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/kspread_canvas.cc')
| -rw-r--r-- | kspread/kspread_canvas.cc | 14 |
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() ); |
