summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kolourpaint/kpview.cpp
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz
tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kpview.cpp')
-rw-r--r--kolourpaint/kpview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kolourpaint/kpview.cpp b/kolourpaint/kpview.cpp
index 341a6790..12a39fb0 100644
--- a/kolourpaint/kpview.cpp
+++ b/kolourpaint/kpview.cpp
@@ -668,7 +668,7 @@ bool kpView::mouseOnSelection (const TQPoint &viewPoint) const
if (!selViewRect.isValid ())
return false;
- return selViewRect.tqcontains (mouseViewPoint (viewPoint));
+ return selViewRect.contains (mouseViewPoint (viewPoint));
}
@@ -874,7 +874,7 @@ int kpView::mouseOnSelectionResizeHandle (const TQPoint &viewPoint) const
#define LOCAL_POINT_IN_BOX_AT(x,y) \
- TQRect ((x), (y), atomicLength, atomicLength).tqcontains (viewPointRelSel)
+ TQRect ((x), (y), atomicLength, atomicLength).contains (viewPointRelSel)
// Favour the bottom & right and the corners.
if (LOCAL_POINT_IN_BOX_AT (selViewRect.width () - atomicLength,
@@ -969,7 +969,7 @@ void kpView::mouseMoveEvent (TQMouseEvent *e)
// TODO: This is wrong if you leaveEvent the mainView by mouseMoving on the
// mainView, landing on top of the thumbnailView cleverly put on top
// of the mainView.
- setHasMouse (TQT_TQRECT_OBJECT(rect ()).tqcontains (e->pos ()));
+ setHasMouse (TQT_TQRECT_OBJECT(rect ()).contains (e->pos ()));
if (tool ())
tool ()->mouseMoveEvent (e);
@@ -1003,7 +1003,7 @@ void kpView::mouseReleaseEvent (TQMouseEvent *e)
<< endl;
#endif
- setHasMouse (TQT_TQRECT_OBJECT(rect ()).tqcontains (e->pos ()));
+ setHasMouse (TQT_TQRECT_OBJECT(rect ()).contains (e->pos ()));
if (tool ())
tool ()->mouseReleaseEvent (e);