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 --- noatun/modules/systray/systray.cpp | 2 +- noatun/modules/winskin/waSkin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'noatun') 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(); } -- cgit v1.2.1