summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kobirdeyepanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kobirdeyepanel.cpp')
-rw-r--r--chalk/ui/kobirdeyepanel.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/chalk/ui/kobirdeyepanel.cpp b/chalk/ui/kobirdeyepanel.cpp
index 0cd835b1..34dd043f 100644
--- a/chalk/ui/kobirdeyepanel.cpp
+++ b/chalk/ui/kobirdeyepanel.cpp
@@ -362,23 +362,23 @@ KoBirdEyePanel::enumDragHandle KoBirdEyePanel::dragHandleAt(TQPoint p)
TQRect top = TQRect(m_visibleAreaInThumbnail.left()-1, m_visibleAreaInThumbnail.top()-1, m_visibleAreaInThumbnail.width()+2, 3);
TQRect bottom = TQRect(m_visibleAreaInThumbnail.left()-1, m_visibleAreaInThumbnail.bottom()-1, m_visibleAreaInThumbnail.width()+2, 3);
- if (left.tqcontains(p)) {
+ if (left.contains(p)) {
return DragHandleLeft;
}
- if (right.tqcontains(p)) {
+ if (right.contains(p)) {
return DragHandleRight;
}
- if (top.tqcontains(p)) {
+ if (top.contains(p)) {
return DragHandleTop;
}
- if (bottom.tqcontains(p)) {
+ if (bottom.contains(p)) {
return DragHandleBottom;
}
- if (m_visibleAreaInThumbnail.tqcontains(p)) {
+ if (m_visibleAreaInThumbnail.contains(p)) {
return DragHandleCentre;
}
@@ -403,7 +403,7 @@ void KoBirdEyePanel::handleMouseMove(TQPoint p)
break;
default:
case DragHandleNone:
- if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).tqcontains(p)) {
+ if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).contains(p)) {
cursor = TQt::PointingHandCursor;
} else {
cursor = TQt::arrowCursor;
@@ -462,7 +462,7 @@ void KoBirdEyePanel::handleMousePress(TQPoint p)
enumDragHandle dragHandle = dragHandleAt(p);
if (dragHandle == DragHandleNone) {
- if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).tqcontains(p)) {
+ if (TQT_TQRECT_OBJECT(m_thumbnail.rect()).contains(p)) {
// Snap visible area centre to p and begin a centre drag.