diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 19:13:36 +0900 |
commit | 5cfda35559d971762794b1c8e294d037c09c63f3 (patch) | |
tree | 567400ec90a083f3fcb02cde2ed0d779d861da79 /konsole | |
parent | 7c193f33d78ab79d2811a60c5190abdc1fa95c03 (diff) | |
download | tdebase-5cfda35559d971762794b1c8e294d037c09c63f3.tar.gz tdebase-5cfda35559d971762794b1c8e294d037c09c63f3.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54)
Diffstat (limited to 'konsole')
-rw-r--r-- | konsole/konsole/TEWidget.cpp | 2 | ||||
-rw-r--r-- | konsole/konsole/konsole.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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. |