summaryrefslogtreecommitdiffstats
path: root/kooka/kookaimage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:19 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:29:39 +0900
commit4396343fcc0f4dfd74042cbee01e311f6601f3ac (patch)
tree09ed426853fb47f0e0c0d24bdf2d27200c447ece /kooka/kookaimage.cpp
parent3eed571e596d6f96c676abc5cda6dd2f16756bc2 (diff)
downloadtdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.tar.gz
tdegraphics-4396343fcc0f4dfd74042cbee01e311f6601f3ac.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0e051a3c83fc5e121be7a0497c823ed9546157eb)
Diffstat (limited to 'kooka/kookaimage.cpp')
-rw-r--r--kooka/kookaimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kooka/kookaimage.cpp b/kooka/kookaimage.cpp
index 14e6ef83..b12adcf4 100644
--- a/kooka/kookaimage.cpp
+++ b/kooka/kookaimage.cpp
@@ -300,7 +300,7 @@ bool KookaImage::loadTiffDir( const TQString& filename, int no )
float yScalefactor = xReso / yReso;
kdDebug(28000) << "Different resolution x/y, rescaling with factor " << yScalefactor << endl;
/* rescale the image */
- *this = smoothScale( imgWidth, int(imgHeight*yScalefactor), TQ_ScaleFree );
+ *this = smoothScale( imgWidth, int(imgHeight*yScalefactor), TQImage::ScaleFree );
}
else
{
@@ -308,7 +308,7 @@ bool KookaImage::loadTiffDir( const TQString& filename, int no )
float scalefactor = yReso / xReso;
kdDebug(28000) << "Different resolution x/y, rescaling x with factor " << scalefactor << endl;
/* rescale the image */
- *this = smoothScale( int(imgWidth*scalefactor), imgHeight, TQ_ScaleFree );
+ *this = smoothScale( int(imgWidth*scalefactor), imgHeight, TQImage::ScaleFree );
}
}