From e1feb0d70ede96e4407bb091220561b099dc781f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Aug 2023 12:22:01 +0900 Subject: Drop TQT_TQ*_OBJECT defines Signed-off-by: Michele Calgaro (cherry picked from commit 214a5ef176c1b0f20402da9ddf018052f3b89fa5) --- kpf/src/AppletItem.cpp | 2 +- krfb/krfb/trayicon.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kpf/src/AppletItem.cpp b/kpf/src/AppletItem.cpp index b7a79a81..2a8e22d3 100644 --- a/kpf/src/AppletItem.cpp +++ b/kpf/src/AppletItem.cpp @@ -132,7 +132,7 @@ namespace KPF break; } - if (!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) + if (!rect().contains(e->pos())) { break; } diff --git a/krfb/krfb/trayicon.cpp b/krfb/krfb/trayicon.cpp index 84018384..aa848f90 100644 --- a/krfb/krfb/trayicon.cpp +++ b/krfb/krfb/trayicon.cpp @@ -124,7 +124,7 @@ void TrayIcon::setDesktopControlSetting(bool b) { void TrayIcon::mousePressEvent(TQMouseEvent *e) { - if (!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) + if (!rect().contains(e->pos())) return; if (e->button() == Qt::LeftButton) { -- cgit v1.2.1