summaryrefslogtreecommitdiffstats
path: root/src/fastscale
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:48:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:48:50 +0900
commited876dc3743b8e65fa280010fb53abb079b982ef (patch)
treeafb85141498b0b77e4eaa6ea2b12e6844e6fe357 /src/fastscale
parentc19b14663d5ec4766ebd44c5daa8f1275077b0dd (diff)
downloadk3b-ed876dc3743b8e65fa280010fb53abb079b982ef.tar.gz
k3b-ed876dc3743b8e65fa280010fb53abb079b982ef.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/fastscale')
-rw-r--r--src/fastscale/scale.cpp2
-rw-r--r--src/fastscale/scale.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fastscale/scale.cpp b/src/fastscale/scale.cpp
index fb6a612..62320bf 100644
--- a/src/fastscale/scale.cpp
+++ b/src/fastscale/scale.cpp
@@ -1920,7 +1920,7 @@ void MImageScale::mimageScaleAARGB(MImageScaleInfo *isi, unsigned int *dest,
// }
TQImage scale(const TQImage& image, int width, int height,
- SmoothAlgorithm alg, TQ_ScaleMode mode, double blur )
+ SmoothAlgorithm alg, TQImage::ScaleMode mode, double blur )
{
if( image.isNull()) return image.copy();
diff --git a/src/fastscale/scale.h b/src/fastscale/scale.h
index 9aab7db..e02062a 100644
--- a/src/fastscale/scale.h
+++ b/src/fastscale/scale.h
@@ -27,7 +27,7 @@ namespace ImageUtils {
enum SmoothAlgorithm { SMOOTH_NONE, SMOOTH_FAST, SMOOTH_NORMAL, SMOOTH_BEST };
TQImage scale(const TQImage& image, int width, int height,
- SmoothAlgorithm alg, TQ_ScaleMode mode = TQ_ScaleFree, double blur = 1.0);
+ SmoothAlgorithm alg, TQImage::ScaleMode mode = TQImage::ScaleFree, double blur = 1.0);
}
#endif