summaryrefslogtreecommitdiffstats
path: root/src/note.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:49:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:54:03 +0900
commit123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf (patch)
treef2ff2e43b85f547f0693e2c11cc6dd7e72082de3 /src/note.cpp
parent2fa133cf6bc4c884678bd4d829163164af8ac5b9 (diff)
downloadbasket-r14.1.1.tar.gz
basket-r14.1.1.zip
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5665df9602807d84c8de673a2b4101f2e3a9fd89)
Diffstat (limited to 'src/note.cpp')
-rw-r--r--src/note.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/note.cpp b/src/note.cpp
index 09eb274..2d2e448 100644
--- a/src/note.cpp
+++ b/src/note.cpp
@@ -2839,7 +2839,7 @@ TQString Note::toHtml(const TQString &imageName)
image = pixmap()->convertToImage();
else
image = movie()->framePixmap().convertToImage();
- image = image.smoothScale(200, 150, TQ_ScaleMin);
+ image = image.smoothScale(200, 150, TQImage::ScaleMin);
TQPixmap pixmap = TQPixmap(image);
TQMimeSourceFactory::defaultFactory()->setPixmap(imageName, pixmap);
return "<img src=" + imageName + ">"; ///
@@ -2852,7 +2852,7 @@ TQString Note::toHtml(const TQString &imageName)
image = pixmap()->convertToImage();
else
image = movie()->framePixmap().convertToImage();
- image = image.smoothScale(200, 150, TQ_ScaleMin);
+ image = image.smoothScale(200, 150, TQImage::ScaleMin);
TQPixmap pixmap = TQPixmap(image);
TQMimeSourceFactory::defaultFactory()->setPixmap(imageName, pixmap);
return "<img src=" + imageName + ">"; ///