Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2e5eec7891)
r14.1.x r14.1.1
Michele Calgaro 8 months ago
parent 8358d1423f
commit 2dc8d77e43
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -51,7 +51,7 @@ ImageDisplay::ImageDisplay(TQObject *, const char *name, const TQStringList&)
{
KWin::setType(winId(), NET::Dock);
setBackgroundMode(NoBackground);
setFocusPolicy(TQ_StrongFocus);
setFocusPolicy(TQWidget::StrongFocus);
singlebg = 0;
doublebg = 0;

@ -64,7 +64,7 @@ TQImage CoverImage::load(int size) const
if ( !image.isNull() ) {
TQString savepath(_cachefolder);
savepath.append(TQString::number ( size )).append("@").append(md5sum.hexDigest());
image = image.smoothScale(size, size, TQ_ScaleMin);
image = image.smoothScale(size, size, TQImage::ScaleMin);
if ( !url().isEmpty() ) {
image.save( savepath, TQImage::imageFormat ( url() ));
} else {

Loading…
Cancel
Save