Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 1 year ago
parent 2f5aa18993
commit 6f3f1d2a67
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