summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:51:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:51:42 +0900
commit6f3f1d2a6769231049a653555ce5799f934e2a09 (patch)
treea82106f574678eefd0a3ece0a182388d7685ae66
parent2f5aa18993388fc42180be84c71836249d84f67b (diff)
downloadkbarcode-6f3f1d2a6769231049a653555ce5799f934e2a09.tar.gz
kbarcode-6f3f1d2a6769231049a653555ce5799f934e2a09.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kbarcode/imageitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbarcode/imageitem.cpp b/kbarcode/imageitem.cpp
index eb1b7e5..d5ff362 100644
--- a/kbarcode/imageitem.cpp
+++ b/kbarcode/imageitem.cpp
@@ -225,10 +225,10 @@ void ImageItem::createImage()
{
if( DocumentItem::paintDevice()->isExtDev() )
img = img.smoothScale( rect().width(), rect().height(),
- (m_scaling == eImage_Scaled ? TQ_ScaleMin : TQ_ScaleFree) );
+ (m_scaling == eImage_Scaled ? TQImage::ScaleMin : TQImage::ScaleFree) );
else
img = img.scale( rect().width(), rect().height(),
- (m_scaling == eImage_Scaled ? TQ_ScaleMin : TQ_ScaleFree) );
+ (m_scaling == eImage_Scaled ? TQImage::ScaleMin : TQImage::ScaleFree) );
}
else
{
@@ -239,7 +239,7 @@ void ImageItem::createImage()
img = img.smoothScale( (int)(img.width() * ((double)metrics.logicalDpiX()/TQPaintDevice::x11AppDpiX())),
(int)(img.height() * ((double)metrics.logicalDpiY()/TQPaintDevice::x11AppDpiY())),
- TQ_ScaleMin );
+ TQImage::ScaleMin );
}
}