From 2e5eec789154c68cd30085b022cd2bdb9e157772 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:50:49 +0900 Subject: [PATCH] Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- katapult/common/imagedisplay.cpp | 2 +- katapult/plugins/catalogs/amarokcatalog/coverimage.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/katapult/common/imagedisplay.cpp b/katapult/common/imagedisplay.cpp index 3aaf7e2..6e82960 100644 --- a/katapult/common/imagedisplay.cpp +++ b/katapult/common/imagedisplay.cpp @@ -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; diff --git a/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp b/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp index 174d492..03a918e 100644 --- a/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp +++ b/katapult/plugins/catalogs/amarokcatalog/coverimage.cpp @@ -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 {