summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_formula.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_formula.cpp')
-rw-r--r--kspread/dialogs/kspread_dlg_formula.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/dialogs/kspread_dlg_formula.cpp b/kspread/dialogs/kspread_dlg_formula.cpp
index 8e53c525..89406321 100644
--- a/kspread/dialogs/kspread_dlg_formula.cpp
+++ b/kspread/dialogs/kspread_dlg_formula.cpp
@@ -271,15 +271,15 @@ void FormulaDialog::slotSearchText(const TQString &_text)
bool FormulaDialog::eventFilter( TQObject* obj, TQEvent* ev )
{
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(firstElement) && ev->type() == TQEvent::FocusIn )
+ if ( obj == firstElement && ev->type() == TQEvent::FocusIn )
m_focus = firstElement;
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(secondElement) && ev->type() == TQEvent::FocusIn )
+ else if ( obj == secondElement && ev->type() == TQEvent::FocusIn )
m_focus = secondElement;
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(thirdElement) && ev->type() == TQEvent::FocusIn )
+ else if ( obj == thirdElement && ev->type() == TQEvent::FocusIn )
m_focus = thirdElement;
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(fourElement) && ev->type() == TQEvent::FocusIn )
+ else if ( obj == fourElement && ev->type() == TQEvent::FocusIn )
m_focus = fourElement;
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(fiveElement) && ev->type() == TQEvent::FocusIn )
+ else if ( obj == fiveElement && ev->type() == TQEvent::FocusIn )
m_focus = fiveElement;
else
return FALSE;