diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 21:44:59 +0900 |
commit | 1607518b8c749b4195c5ab11b405f77001526a6a (patch) | |
tree | 89b8bc00c6b9625f6a4f061594f57f457d18a174 /kspread/dialogs/kspread_dlg_formula.cpp | |
parent | 64574118b7f71db7cb0a7f513a824dd51185b632 (diff) | |
download | koffice-1607518b.tar.gz koffice-1607518b.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
Diffstat (limited to 'kspread/dialogs/kspread_dlg_formula.cpp')
-rw-r--r-- | kspread/dialogs/kspread_dlg_formula.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/dialogs/kspread_dlg_formula.cpp b/kspread/dialogs/kspread_dlg_formula.cpp index 8e53c5254..89406321a 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; |