summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_goalseek.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:44:08 +0900
committerMichele Calgaro <[email protected]>2023-08-18 20:22:59 +0900
commita7ea84c97639f635d798348432f355e3ac496a1d (patch)
tree34917a6af147ff19cc1f059ef72db53a196d4b61 /kspread/dialogs/kspread_dlg_goalseek.cpp
parentca88704c3e4a4fd5ddc9e96e4ccf22b53816e03d (diff)
downloadkoffice-a7ea84c97639f635d798348432f355e3ac496a1d.tar.gz
koffice-a7ea84c97639f635d798348432f355e3ac496a1d.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kspread/dialogs/kspread_dlg_goalseek.cpp')
-rw-r--r--kspread/dialogs/kspread_dlg_goalseek.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/dialogs/kspread_dlg_goalseek.cpp b/kspread/dialogs/kspread_dlg_goalseek.cpp
index b45525ad..1a2e5d59 100644
--- a/kspread/dialogs/kspread_dlg_goalseek.cpp
+++ b/kspread/dialogs/kspread_dlg_goalseek.cpp
@@ -197,11 +197,11 @@ GoalSeekDialog::~GoalSeekDialog()
bool GoalSeekDialog::eventFilter( TQObject* obj, TQEvent* ev )
{
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_targetValueEdit) && ev->type() == TQEvent::FocusIn )
+ if ( obj == m_targetValueEdit && ev->type() == TQEvent::FocusIn )
m_focus = m_targetValueEdit;
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_targetEdit) && ev->type() == TQEvent::FocusIn )
+ else if ( obj == m_targetEdit && ev->type() == TQEvent::FocusIn )
m_focus = m_targetEdit;
- else if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_sourceEdit) && ev->type() == TQEvent::FocusIn )
+ else if ( obj == m_sourceEdit && ev->type() == TQEvent::FocusIn )
m_focus = m_sourceEdit;
else
return FALSE;