diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:55:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:55:50 +0900 |
commit | 60716f5af0920804783f44ca88664dcd403e4041 (patch) | |
tree | afc69b2f97e30fba156d2ba28f77aa2e6d4c9e20 /ksnapshot | |
parent | 9f573969bb9c14598cb640d7f769f4d7811c4414 (diff) | |
download | tdegraphics-60716f5af0920804783f44ca88664dcd403e4041.tar.gz tdegraphics-60716f5af0920804783f44ca88664dcd403e4041.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksnapshot')
-rw-r--r-- | ksnapshot/ksnapshot.h | 4 | ||||
-rw-r--r-- | ksnapshot/regiongrabber.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ksnapshot/ksnapshot.h b/ksnapshot/ksnapshot.h index 42620608..b84e8c18 100644 --- a/ksnapshot/ksnapshot.h +++ b/ksnapshot/ksnapshot.h @@ -45,14 +45,14 @@ class KSnapshotPreview : public TQLabel { TQPainter p(&mask); - style().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); + style().drawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); p.end(); handle.setMask(mask); } { TQPainter p(&handle); - style().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); + style().drawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); p.end(); } diff --git a/ksnapshot/regiongrabber.cpp b/ksnapshot/regiongrabber.cpp index 61c45c47..9b2c438b 100644 --- a/ksnapshot/regiongrabber.cpp +++ b/ksnapshot/regiongrabber.cpp @@ -168,7 +168,7 @@ void RegionGrabber::drawRubber() p.setPen( TQPen( color0, 1 ) ); p.setBrush( NoBrush ); - style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, grabRect, colorGroup(), + style().drawPrimitive( TQStyle::PE_FocusRect, &p, grabRect, colorGroup(), TQStyle::Style_Default, TQStyleOption( colorGroup().base() ) ); p.end(); |