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-02 15:50:49 +0900 |
commit | 2e5eec789154c68cd30085b022cd2bdb9e157772 (patch) | |
tree | 053191b0377433b949912d86c2c11178eed7a7c7 | |
parent | 28c97d12bd82666cf0fb61fddb4bee58854a5709 (diff) | |
download | katapult-2e5eec789154c68cd30085b022cd2bdb9e157772.tar.gz katapult-2e5eec789154c68cd30085b022cd2bdb9e157772.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 { |