summaryrefslogtreecommitdiffstats
path: root/ksnapshot/ksnapshot.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:19 +0900
commit0e051a3c83fc5e121be7a0497c823ed9546157eb (patch)
tree4abc7ae86e2340444b68825ab42c091a5fc804fe /ksnapshot/ksnapshot.cpp
parent7b285cb0c78cdcc0391930b83bb83377db50b80d (diff)
downloadtdegraphics-0e051a3c83fc5e121be7a0497c823ed9546157eb.tar.gz
tdegraphics-0e051a3c83fc5e121be7a0497c823ed9546157eb.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksnapshot/ksnapshot.cpp')
-rw-r--r--ksnapshot/ksnapshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp
index 8868fbdc..00a1b1ac 100644
--- a/ksnapshot/ksnapshot.cpp
+++ b/ksnapshot/ksnapshot.cpp
@@ -338,7 +338,7 @@ void KSnapshot::slotPrint()
neww = newh/h*w;
}
- img = img.smoothScale( int(neww), int(newh), TQ_ScaleMin );
+ img = img.smoothScale( int(neww), int(newh), TQImage::ScaleMin );
tqApp->processEvents();
int x = (metrics.width()-img.width())/2;