summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/screenshot
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:50:12 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:50:12 +0900
commit04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch)
tree5880f13b288d79e13e1a10f99c54b27bbe1fc942 /chalk/plugins/viewplugins/screenshot
parentd1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff)
downloadkoffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz
koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'chalk/plugins/viewplugins/screenshot')
-rw-r--r--chalk/plugins/viewplugins/screenshot/ksnapshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
index 7fb3668f..783e2a1d 100644
--- a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
+++ b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
@@ -236,7 +236,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;