summaryrefslogtreecommitdiffstats
path: root/libtdepim/kpixmapregionselectorwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:01 +0900
commit84129a6fadb049acceb743bd6cf1dea0c513522a (patch)
tree959a986f95c87092b1aefb8a0def491284409985 /libtdepim/kpixmapregionselectorwidget.cpp
parent6e5a971f6ba86df21b9f6cfae07d7d4dac355806 (diff)
downloadtdepim-84129a6fadb049acceb743bd6cf1dea0c513522a.tar.gz
tdepim-84129a6fadb049acceb743bd6cf1dea0c513522a.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdepim/kpixmapregionselectorwidget.cpp')
-rw-r--r--libtdepim/kpixmapregionselectorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtdepim/kpixmapregionselectorwidget.cpp b/libtdepim/kpixmapregionselectorwidget.cpp
index fa93fe3d5..b407ea6e3 100644
--- a/libtdepim/kpixmapregionselectorwidget.cpp
+++ b/libtdepim/kpixmapregionselectorwidget.cpp
@@ -429,7 +429,7 @@ void KPixmapRegionSelectorWidget::setMaximumWidgetSize(int width, int height)
{
/* We have to resize the pixmap to get it complete on the screen */
TQImage image=m_originalPixmap.convertToImage();
- m_originalPixmap.convertFromImage( image.smoothScale( width, height, TQ_ScaleMin ) );
+ m_originalPixmap.convertFromImage( image.smoothScale( width, height, TQImage::ScaleMin ) );
//m_originalPixmap.convertFromImage( KImageEffect::sample( image, width, height ) );
double oldZoomFactor = m_zoomFactor;
m_zoomFactor=m_originalPixmap.width()/(double)m_unzoomedPixmap.width();