diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:50:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 09:50:24 +0900 |
commit | 2dc8d77e434a2a4d7ea9b2690da8036b7ba8041e (patch) | |
tree | 053191b0377433b949912d86c2c11178eed7a7c7 | |
parent | 8358d1423f0ff96cbb2dd9cb81a9929759455fea (diff) | |
download | katapult-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.cpp | 2 | ||||
-rw-r--r-- | 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 { |