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-04 10:31:54 +0900
commit957719d7f991826271b1b5bbb3f4707dcf5a7ae5 (patch)
treec61371c00eaad07ad3149044ed3c75ecfbbc8e41 /noatun
parentca56a9ac1fea5da3c3a3a8f92fd4a6fa7299b451 (diff)
downloadtdemultimedia-957719d7f991826271b1b5bbb3f4707dcf5a7ae5.tar.gz
tdemultimedia-957719d7f991826271b1b5bbb3f4707dcf5a7ae5.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b8cb47c3d328d373abefcff6ac2bd7b75020f8be)
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();
}