From b8cb47c3d328d373abefcff6ac2bd7b75020f8be Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:53:40 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- juk/covermanager.cpp | 2 +- juk/nowplaying.cpp | 2 +- juk/slideraction.cpp | 2 +- juk/webimagefetcherdialog.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'juk') diff --git a/juk/covermanager.cpp b/juk/covermanager.cpp index ef3cd993..95af83e5 100644 --- a/juk/covermanager.cpp +++ b/juk/covermanager.cpp @@ -371,7 +371,7 @@ TQPixmap CoverManager::coverFromData(const CoverData &coverData, Size size) if(size == Thumbnail) { // Convert to image for smoothScale() TQImage image = pix->convertToImage(); - pix->convertFromImage(image.smoothScale(80, 80, TQ_ScaleMin)); + pix->convertFromImage(image.smoothScale(80, 80, TQImage::ScaleMin)); } TQPixmap returnValue = *pix; // Save it early. diff --git a/juk/nowplaying.cpp b/juk/nowplaying.cpp index e9086f00..e5f344a6 100644 --- a/juk/nowplaying.cpp +++ b/juk/nowplaying.cpp @@ -123,7 +123,7 @@ void CoverItem::update(const FileHandle &file) if(file.coverInfo()->hasCover()) { show(); TQImage image = file.coverInfo()->pixmap(CoverInfo::Thumbnail).convertToImage(); - setPixmap(image.smoothScale(imageSize, imageSize, TQ_ScaleMin)); + setPixmap(image.smoothScale(imageSize, imageSize, TQImage::ScaleMin)); } else hide(); diff --git a/juk/slideraction.cpp b/juk/slideraction.cpp index 561331d0..24de828d 100644 --- a/juk/slideraction.cpp +++ b/juk/slideraction.cpp @@ -41,7 +41,7 @@ class TrackPositionSlider : public TQSlider public: TrackPositionSlider(TQWidget *parent, const char *name) : TQSlider(parent, name) { - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); } protected: diff --git a/juk/webimagefetcherdialog.cpp b/juk/webimagefetcherdialog.cpp index 5fd110d8..9f6c9744 100644 --- a/juk/webimagefetcherdialog.cpp +++ b/juk/webimagefetcherdialog.cpp @@ -228,7 +228,7 @@ void CoverIconViewItem::imageResult(TDEIO::Job *job) return; TQPixmap iconImage(m_buffer); - iconImage = TQImage(iconImage.convertToImage()).smoothScale(80, 80, TQ_ScaleMin); + iconImage = TQImage(iconImage.convertToImage()).smoothScale(80, 80, TQImage::ScaleMin); setPixmap(iconImage, true, true); } -- cgit v1.2.1