Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 1 year ago
parent 28c97d12bd
commit 2e5eec7891
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

@ -64,7 +64,7 @@ TQImage CoverImage::load(int size) const
if ( !image.isNull() ) { if ( !image.isNull() ) {
TQString savepath(_cachefolder); TQString savepath(_cachefolder);
savepath.append(TQString::number ( size )).append("@").append(md5sum.hexDigest()); 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() ) { if ( !url().isEmpty() ) {
image.save( savepath, TQImage::imageFormat ( url() )); image.save( savepath, TQImage::imageFormat ( url() ));
} else { } else {

Loading…
Cancel
Save