From 0fc56f21d45249a473d20555ff3071d3b16bee54 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:46:35 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- konsole/konsole/TEWidget.cpp | 2 +- konsole/konsole/konsole.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'konsole') diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp index 026ee2df8..88b5c8dce 100644 --- a/konsole/konsole/TEWidget.cpp +++ b/konsole/konsole/TEWidget.cpp @@ -1938,7 +1938,7 @@ bool TEWidget::eventFilter( TQObject *obj, TQEvent *e ) TQT_TQKEYEVENT( e )->ignore(); return false; } - if ( TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(this) /* when embedded */ && TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(parent()) /* when standalone */ ) + if ( obj != this /* when embedded */ && obj != parent() /* when standalone */ ) return false; // not us if ( e->type() == TQEvent::KeyPress ) { diff --git a/konsole/konsole/konsole.cpp b/konsole/konsole/konsole.cpp index 7f27a678e..3a182e682 100644 --- a/konsole/konsole/konsole.cpp +++ b/konsole/konsole/konsole.cpp @@ -984,7 +984,7 @@ void Konsole::makeTabWidget() bool Konsole::eventFilter( TQObject *o, TQEvent *ev ) { - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_newSessionButton)) + if (o == m_newSessionButton) { // Popup the menu when the left mousebutton is pressed and the mouse // is moved by a small distance. -- cgit v1.2.1