diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:21:19 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 18:02:14 +0900 |
commit | 8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13 (patch) | |
tree | 2a6c731a6fc763c5ae163f366c36afa8aa9b4482 /libkscan | |
parent | 6deca45c2f1d5932c91db6fb45c70c94faf768f9 (diff) | |
download | tdegraphics-8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13.tar.gz tdegraphics-8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 96eaae090ebed7c9cef41303e4b43a2aac0b3d8b)
Diffstat (limited to 'libkscan')
-rw-r--r-- | libkscan/img_canvas.cpp | 4 |
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 ); |