summaryrefslogtreecommitdiffstats
path: root/src/notecontent.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/notecontent.cpp
parent2fa133cf6bc4c884678bd4d829163164af8ac5b9 (diff)
downloadbasket-123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf.tar.gz
basket-123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf.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/notecontent.cpp')
-rw-r--r--src/notecontent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notecontent.cpp b/src/notecontent.cpp
index 00b5795..ef01cb9 100644
--- a/src/notecontent.cpp
+++ b/src/notecontent.cpp
@@ -408,7 +408,7 @@ TQPixmap ImageContent::feedbackPixmap(int width, int height)
} else { // Scalled down
TQImage imageToScale = m_pixmap.convertToImage();
TQPixmap pmScaled;
- pmScaled.convertFromImage(imageToScale./*smoothScale*/scale(width, height, TQ_ScaleMin));
+ pmScaled.convertFromImage(imageToScale./*smoothScale*/scale(width, height, TQImage::ScaleMin));
if (pmScaled.hasAlpha()) {
TQPixmap opaque(pmScaled.width(), pmScaled.height());
opaque.fill(note()->backgroundColor().dark(FEEDBACK_DARKING));
@@ -429,7 +429,7 @@ TQPixmap AnimationContent::feedbackPixmap(int width, int height)
else { // Scalled down
TQImage imageToScale = pixmap.convertToImage();
TQPixmap pmScaled;
- pmScaled.convertFromImage(imageToScale./*smoothScale*/scale(width, height, TQ_ScaleMin));
+ pmScaled.convertFromImage(imageToScale./*smoothScale*/scale(width, height, TQImage::ScaleMin));
return pmScaled;
}
}