summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoTemplates.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
commit04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch)
tree5880f13b288d79e13e1a10f99c54b27bbe1fc942 /lib/kofficecore/KoTemplates.cpp
parentd1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff)
downloadkoffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz
koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficecore/KoTemplates.cpp')
-rw-r--r--lib/kofficecore/KoTemplates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp
index 2d0ba529..7e86257b 100644
--- a/lib/kofficecore/KoTemplates.cpp
+++ b/lib/kofficecore/KoTemplates.cpp
@@ -61,7 +61,7 @@ const TQPixmap &KoTemplate::loadPicture( TDEInstance* instance ) {
}
const int maxHeightWidth = 128; // ### TODO: some people would surely like to have 128x128
if (img.width() > maxHeightWidth || img.height() > maxHeightWidth) {
- img = img.smoothScale( maxHeightWidth, maxHeightWidth, TQ_ScaleMax );
+ img = img.smoothScale( maxHeightWidth, maxHeightWidth, TQImage::ScaleMax );
}
m_pixmap.convertFromImage(img);
return m_pixmap;