summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 09:50:24 +0900
commit2dc8d77e434a2a4d7ea9b2690da8036b7ba8041e (patch)
tree053191b0377433b949912d86c2c11178eed7a7c7
parent8358d1423f0ff96cbb2dd9cb81a9929759455fea (diff)
downloadkatapult-2dc8d77e434a2a4d7ea9b2690da8036b7ba8041e.tar.gz
katapult-2dc8d77e434a2a4d7ea9b2690da8036b7ba8041e.zip
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2e5eec789154c68cd30085b022cd2bdb9e157772)
-rw-r--r--katapult/common/imagedisplay.cpp2
-rw-r--r--katapult/plugins/catalogs/amarokcatalog/coverimage.cpp2
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 {