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 | a40b0e89b6b20ba9039d3f79e73afbeac6954ccb (patch) | |
tree | 07779032ca48d6e8e71887a329141f8e635c901c /kimagemapeditor/imagemap.cpp | |
parent | a2bae01d006ea8053e85bc16d09a8cf40a4b0b75 (diff) | |
download | tdewebdev-a40b0e89b6b20ba9039d3f79e73afbeac6954ccb.tar.gz tdewebdev-a40b0e89b6b20ba9039d3f79e73afbeac6954ccb.zip |
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
Diffstat (limited to 'kimagemapeditor/imagemap.cpp')
-rw-r--r-- | kimagemapeditor/imagemap.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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) { |