summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/htmlexport
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:51:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:51:51 +0900
commit76898d15ff25a65f81962cbb5f4c04a3338a0a06 (patch)
treed2da3d44f09c3f397f5eb2228f2bb3ce436fc8d7 /kipi-plugins/htmlexport
parent1ffbcfbf6b38abf287771a775ef9854d5ab1d73d (diff)
downloadkipi-plugins-76898d15ff25a65f81962cbb5f4c04a3338a0a06.tar.gz
kipi-plugins-76898d15ff25a65f81962cbb5f4c04a3338a0a06.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kipi-plugins/htmlexport')
-rw-r--r--kipi-plugins/htmlexport/generator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kipi-plugins/htmlexport/generator.cpp b/kipi-plugins/htmlexport/generator.cpp
index 66692de..eceb1e9 100644
--- a/kipi-plugins/htmlexport/generator.cpp
+++ b/kipi-plugins/htmlexport/generator.cpp
@@ -136,7 +136,7 @@ TQCString makeXsltParam(const TQString& txt) {
* Genearate a square thumbnail from @fullImage of @size x @size pixels
*/
TQImage generateSquareThumbnail(const TQImage& fullImage, int size) {
- TQImage image = fullImage.smoothScale(size, size, TQ_ScaleMax);
+ TQImage image = fullImage.smoothScale(size, size, TQImage::ScaleMax);
if (image.width() == size && image.height() == size) {
return image;
@@ -256,7 +256,7 @@ struct Generator::Private {
if (!mInfo->useOriginalImageAsFullImage()) {
if (mInfo->fullResize()) {
int size = mInfo->fullSize();
- fullImage = fullImage.smoothScale(size, size, TQ_ScaleMin);
+ fullImage = fullImage.smoothScale(size, size, TQImage::ScaleMin);
}
if (info.angle() != 0) {
TQWMatrix matrix;