summaryrefslogtreecommitdiffstats
path: root/src/fastscale
diff options
context:
space:
mode:
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