diff options
Diffstat (limited to 'kolourpaint')
-rw-r--r-- | kolourpaint/kpview.cpp | 4 | ||||
-rw-r--r-- | kolourpaint/widgets/kpcolortoolbar.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kolourpaint/kpview.cpp b/kolourpaint/kpview.cpp index c130c0d9..ced8f825 100644 --- a/kolourpaint/kpview.cpp +++ b/kolourpaint/kpview.cpp @@ -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 ()).contains (e->pos ())); + setHasMouse (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 ()).contains (e->pos ())); + setHasMouse (rect ().contains (e->pos ())); if (tool ()) tool ()->mouseReleaseEvent (e); diff --git a/kolourpaint/widgets/kpcolortoolbar.cpp b/kolourpaint/widgets/kpcolortoolbar.cpp index d3bb51e1..6160c166 100644 --- a/kolourpaint/widgets/kpcolortoolbar.cpp +++ b/kolourpaint/widgets/kpcolortoolbar.cpp @@ -783,7 +783,7 @@ void kpTransparentColorCell::mousePressEvent (TQMouseEvent * /*e*/) // protected virtual [base TQWidget] void kpTransparentColorCell::mouseReleaseEvent (TQMouseEvent *e) { - if (TQT_TQRECT_OBJECT(rect ()).contains (e->pos ())) + if (rect ().contains (e->pos ())) { if (e->button () == Qt::LeftButton) { |