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