Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6f3f1d2a67)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 7beb59253e
commit 5d320686b6
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 );
}
}

Loading…
Cancel
Save