summaryrefslogtreecommitdiffstats
path: root/konsole
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:46:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 18:54:01 +0900
commit0fc56f21d45249a473d20555ff3071d3b16bee54 (patch)
treec788136146e1f97187ecaf773563c21cbd42fa11 /konsole
parent83e74d1e550db6a814ec252968b601f6a9b14f9b (diff)
downloadtdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz
tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konsole')
-rw-r--r--konsole/konsole/TEWidget.cpp2
-rw-r--r--konsole/konsole/konsole.cpp2
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.