summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index 2a78d7189..b73ce29ef 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -1339,7 +1339,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
return true;
}
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_label) )
+ if ( o == m_label )
{
TQMouseEvent *e = (TQMouseEvent *)ev;
@@ -1379,7 +1379,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
return false;
}
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editor) ) {
+ if ( o == m_editor ) {
if ( ev->type() == TQEvent::FocusOut ) {
TQFocusEvent *fe = TQT_TQFOCUSEVENT(ev);
if ( fe->reason() != TQFocusEvent::Popup &&
@@ -1398,7 +1398,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev )
return false;
}
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editor->viewport()) )
+ if ( o == m_editor->viewport() )
{
if ( m_edit_menu &&
ev->type() == TQEvent::MouseButtonPress &&