summaryrefslogtreecommitdiffstats
path: root/libkscan/img_canvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:19 +0900
commit96eaae090ebed7c9cef41303e4b43a2aac0b3d8b (patch)
tree680cbf5f72802e0731e0df51ae043fe15f7753ac /libkscan/img_canvas.cpp
parentfce92533f86b9952f0c9cac6ca97f89c0fe6c39c (diff)
downloadtdegraphics-96eaae090ebed7c9cef41303e4b43a2aac0b3d8b.tar.gz
tdegraphics-96eaae090ebed7c9cef41303e4b43a2aac0b3d8b.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkscan/img_canvas.cpp')
-rw-r--r--libkscan/img_canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkscan/img_canvas.cpp b/libkscan/img_canvas.cpp
index d673b284..832ca4c6 100644
--- a/libkscan/img_canvas.cpp
+++ b/libkscan/img_canvas.cpp
@@ -783,7 +783,7 @@ void ImageCanvas::drawHAreaBorder(TQPainter &p,int x1,int x2,int y,int r)
} else if(!acquired) p.setPen(TQPen(TQColor(150,150,150)));
for(;;) {
- if(TQT_TQRECT_OBJECT(rect()).contains(TQPoint(x1,y))) {
+ if(rect().contains(TQPoint(x1,y))) {
if( r && acquired ) {
int re_x1, re_y;
inv_scale_matrix.map( x1+cx, y+cy, &re_x1, &re_y );
@@ -826,7 +826,7 @@ void ImageCanvas::drawVAreaBorder(TQPainter &p, int x, int y1, int y2, int r )
if( !acquired ) p.setPen( TQPen( TQColor(150,150,150) ) );
for(;;) {
- if(TQT_TQRECT_OBJECT(rect()).contains( TQPoint(x,y1) )) {
+ if(rect().contains( TQPoint(x,y1) )) {
if( r && acquired ) {
int re_y1, re_x;
inv_scale_matrix.map( x+cx, y1+cy, &re_x, &re_y1 );