diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:47:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:47:47 +0900 |
commit | ad5ba758d539559057f4661087f5c116d85d76ed (patch) | |
tree | 6b13e4aa4ae46fa242ff08fa5dac9639a8f6075b /src/imageutils | |
parent | 0dfbcfeaabfddcfd01f7611619ddf4968e02b15f (diff) | |
download | gwenview-ad5ba758d539559057f4661087f5c116d85d76ed.tar.gz gwenview-ad5ba758d539559057f4661087f5c116d85d76ed.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/imageutils')
-rw-r--r-- | src/imageutils/imageutils.h | 2 | ||||
-rw-r--r-- | src/imageutils/scale.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imageutils/imageutils.h b/src/imageutils/imageutils.h index 5ec9b09..2cf8559 100644 --- a/src/imageutils/imageutils.h +++ b/src/imageutils/imageutils.h @@ -30,7 +30,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); int extraScalePixels( SmoothAlgorithm alg, double zoom, double blur = 1.0 ); diff --git a/src/imageutils/scale.cpp b/src/imageutils/scale.cpp index fb9ab23..3c719a7 100644 --- a/src/imageutils/scale.cpp +++ b/src/imageutils/scale.cpp @@ -1924,7 +1924,7 @@ int extraScalePixels( SmoothAlgorithm alg, double zoom, double blur ) } 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(); |