summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/ui/kivio_birdeye_panel.cpp')
-rw-r--r--kivio/kiviopart/ui/kivio_birdeye_panel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
index 55b88d82..546c3203 100644
--- a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
+++ b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp
@@ -181,34 +181,34 @@ void KivioBirdEyePanel::handleMouseMove(TQPoint p)
handlePress = true;
TQRect r1 = TQRect(varea.x()-1, varea.y()-1, 3, varea.height()+2);
- if (r1.tqcontains(p)) {
+ if (r1.contains(p)) {
canvas->setCursor(sizeHorCursor);
apos = AlignLeft;
return;
}
r1.moveBy(varea.width(),0);
- if (r1.tqcontains(p)) {
+ if (r1.contains(p)) {
canvas->setCursor(sizeHorCursor);
apos = AlignRight;
return;
}
TQRect r2 = TQRect(varea.x()-1, varea.y()-1, varea.width()+2, 3);
- if (r2.tqcontains(p)) {
+ if (r2.contains(p)) {
canvas->setCursor(sizeVerCursor);
apos = AlignTop;
return;
}
r2.moveBy(0, varea.height());
- if (r2.tqcontains(p)) {
+ if (r2.contains(p)) {
canvas->setCursor(sizeVerCursor);
apos = AlignBottom;
return;
}
- if (varea.tqcontains(p)) {
+ if (varea.contains(p)) {
canvas->setCursor(sizeAllCursor);
apos = AlignCenter;
return;