summaryrefslogtreecommitdiffstats
path: root/noatun
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 /noatun
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 'noatun')
-rw-r--r--noatun/modules/systray/systray.cpp2
-rw-r--r--noatun/modules/winskin/waSkin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/noatun/modules/systray/systray.cpp b/noatun/modules/systray/systray.cpp
index da0590ce..2a7953d3 100644
--- a/noatun/modules/systray/systray.cpp
+++ b/noatun/modules/systray/systray.cpp
@@ -334,7 +334,7 @@ void NoatunSystray::updateCover()
if(src.load(cover))
{
if(src.width() >= COVER_MAXW || src.height() >= COVER_MAXH)
- tmpimg = src.scale(COVER_MAXW, COVER_MAXH, TQ_ScaleMin);
+ tmpimg = src.scale(COVER_MAXW, COVER_MAXH, TQImage::ScaleMin);
else
tmpimg = src;
diff --git a/noatun/modules/winskin/waSkin.cpp b/noatun/modules/winskin/waSkin.cpp
index 4cdef1ec..a9e68a2a 100644
--- a/noatun/modules/winskin/waSkin.cpp
+++ b/noatun/modules/winskin/waSkin.cpp
@@ -126,7 +126,7 @@ WaSkin::WaSkin() : TQWidget(0, "NoatunWinampSkin"), UserInterface()
newSong();
// HACK: We won't get focus events otherwise
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
show();
}