summaryrefslogtreecommitdiffstats
path: root/juk
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:40 +0900
commitb8cb47c3d328d373abefcff6ac2bd7b75020f8be (patch)
treeb664337a9597898a6c525a3e23b08041c6db927a /juk
parentbb002a39883ab44b11ef0d83536eccf36e9b1c71 (diff)
downloadtdemultimedia-b8cb47c3d328d373abefcff6ac2bd7b75020f8be.tar.gz
tdemultimedia-b8cb47c3d328d373abefcff6ac2bd7b75020f8be.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'juk')
-rw-r--r--juk/covermanager.cpp2
-rw-r--r--juk/nowplaying.cpp2
-rw-r--r--juk/slideraction.cpp2
-rw-r--r--juk/webimagefetcherdialog.cpp2
4 files changed, 4 insertions, 4 deletions
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);
}