Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ba71773a92)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 11a949b4d1
commit 4f72176a0f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -456,7 +456,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize )
// Now, rotate the image so that it's the right way up, and scale it to size
TQImage im = pm.convertToImage();
im = im.xForm(transMatrix);
im = im.smoothScale( 50, 50, TQ_ScaleMin );
im = im.smoothScale( 50, 50, TQImage::ScaleMin );
if (cache)
m_imageMap[item->type()] = im;

@ -71,7 +71,7 @@ void LibraryItem::createIcon16()
}
TQImage im = m_icon_full.convertToImage();
im = im.smoothScale( size, size, TQ_ScaleMin );
im = im.smoothScale( size, size, TQImage::ScaleMin );
m_icon_16.convertFromImage(im);
}

Loading…
Cancel
Save