From a40b0e89b6b20ba9039d3f79e73afbeac6954ccb Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kimagemapeditor/imagemap.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kimagemapeditor/imagemap.cpp') diff --git a/kimagemapeditor/imagemap.cpp b/kimagemapeditor/imagemap.cpp index 070b54fa..188a443a 100644 --- a/kimagemapeditor/imagemap.cpp +++ b/kimagemapeditor/imagemap.cpp @@ -77,7 +77,7 @@ void ImageMap::setZoom(double z) { p.flush(); resizeContents(visibleWidth()>imageRect.width() ? visibleWidth() : imageRect.width(), visibleHeight()>imageRect.height() ? visibleHeight() : imageRect.height()); - tqrepaintContents(0,0,contentsWidth(),contentsHeight(),true); + repaintContents(0,0,contentsWidth(),contentsHeight(),true); } TQPoint ImageMap::translateFromZoom(const TQPoint & p) const { @@ -172,7 +172,7 @@ void ImageMap::contentsMousePressEvent(TQMouseEvent* e) { r=oldArea->selectionRect(); if (currentArea) { r= r | currentArea->selectionRect(); - tqrepaintContents(translateToZoom(r),false); + repaintContents(translateToZoom(r),false); } } @@ -233,8 +233,8 @@ void ImageMap::contentsMouseReleaseEvent(TQMouseEvent *e) { imageMapEditor->slotUpdateSelectionCoords(); if (currentArea) - tqrepaintArea(*currentArea); -// tqrepaintContents(0,0,contentsWidth(),contentsHeight(),false); + repaintArea(*currentArea); +// repaintContents(0,0,contentsWidth(),contentsHeight(),false); } @@ -264,7 +264,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->setRect(TQRect(drawStart,drawCurrent).normalize()); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(currentArea->rect()); } else if (currentAction==DrawCircle) { @@ -272,7 +272,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->setRect(TQRect(drawStart,drawCurrent).normalize()); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(currentArea->rect()); } else if ( currentAction==DrawPolygon ) { @@ -280,7 +280,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->moveSelectionPoint(currentSelectionPoint,drawCurrent); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(currentArea->rect()); } else if ( currentAction==MoveArea ) { @@ -288,7 +288,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->moveBy((drawCurrent-drawStart).x(),(drawCurrent-drawStart).y()); TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); drawStart=drawCurrent; imageMapEditor->slotUpdateSelectionCoords(); } else @@ -297,7 +297,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->moveSelectionPoint(currentSelectionPoint,drawCurrent); TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(); } imageMapEditor->slotChangeStatusCoords(drawCurrent.x(),drawCurrent.y()); @@ -321,8 +321,8 @@ void ImageMap::resizeEvent(TQResizeEvent* e) { } -void ImageMap::tqrepaintArea(const Area & a) { - tqrepaintContents(translateToZoom(a.selectionRect()),false); +void ImageMap::repaintArea(const Area & a) { + repaintContents(translateToZoom(a.selectionRect()),false); } void ImageMap::drawContents(TQPainter* p,int clipx,int clipy,int clipw,int cliph) { -- cgit v1.2.1