summaryrefslogtreecommitdiffstats
path: root/src/gvcore/cursortracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/cursortracker.cpp')
-rw-r--r--src/gvcore/cursortracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/cursortracker.cpp b/src/gvcore/cursortracker.cpp
index 44e38ac..00f1736 100644
--- a/src/gvcore/cursortracker.cpp
+++ b/src/gvcore/cursortracker.cpp
@@ -49,7 +49,7 @@ bool CursorTracker::eventFilter(TQObject* object, TQEvent* _event) {
switch (_event->type()) {
case TQEvent::MouseMove: {
TQMouseEvent* event=TQT_TQMOUSEEVENT(_event);
- if (TQT_TQRECT_OBJECT(widget->rect()).tqcontains(event->pos()) || (event->stateAfter() & Qt::LeftButton)) {
+ if (TQT_TQRECT_OBJECT(widget->rect()).contains(event->pos()) || (event->stateAfter() & Qt::LeftButton)) {
show();
move(event->globalPos().x() + 15, event->globalPos().y() + 15);
} else {
@@ -60,7 +60,7 @@ bool CursorTracker::eventFilter(TQObject* object, TQEvent* _event) {
case TQEvent::MouseButtonRelease: {
TQMouseEvent* event=TQT_TQMOUSEEVENT(_event);
- if ( !TQT_TQRECT_OBJECT(widget->rect()).tqcontains(event->pos()) ) {
+ if ( !TQT_TQRECT_OBJECT(widget->rect()).contains(event->pos()) ) {
hide();
}
break;