Replace TQ_*Focus* and TQ_Scale* defines

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