summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:22:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:22:01 +0900
commit214a5ef176c1b0f20402da9ddf018052f3b89fa5 (patch)
treeec271dae075a2f61a2b60ef78f1ef6c1fedfed3f
parent1c73e70c5605c86ab3ee2da13874ecfa0fe769f3 (diff)
downloadtdenetwork-214a5ef176c1b0f20402da9ddf018052f3b89fa5.tar.gz
tdenetwork-214a5ef176c1b0f20402da9ddf018052f3b89fa5.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kpf/src/AppletItem.cpp2
-rw-r--r--krfb/krfb/trayicon.cpp2
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) {