summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbimagebox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:44:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 21:44:59 +0900
commit1607518b8c749b4195c5ab11b405f77001526a6a (patch)
tree89b8bc00c6b9625f6a4f061594f57f457d18a174 /kexi/plugins/forms/widgets/kexidbimagebox.cpp
parent64574118b7f71db7cb0a7f513a824dd51185b632 (diff)
downloadkoffice-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 'kexi/plugins/forms/widgets/kexidbimagebox.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbimagebox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbimagebox.cpp b/kexi/plugins/forms/widgets/kexidbimagebox.cpp
index fb9636003..e8b7aa939 100644
--- a/kexi/plugins/forms/widgets/kexidbimagebox.cpp
+++ b/kexi/plugins/forms/widgets/kexidbimagebox.cpp
@@ -837,13 +837,13 @@ bool KexiDBImageBox::subwidgetStretchRequired(KexiDBAutoField* autoField) const
bool KexiDBImageBox::eventFilter( TQObject * watched, TQEvent * e )
{
- if (TQT_BASE_OBJECT(watched)==TQT_BASE_OBJECT(this) || TQT_BASE_OBJECT(watched)==TQT_BASE_OBJECT(m_chooser)) { //we're watching chooser as well because it's a focus proxy even if invisible
+ if (watched==this || watched==m_chooser) { //we're watching chooser as well because it's a focus proxy even if invisible
if (e->type()==TQEvent::FocusIn || e->type()==TQEvent::FocusOut || e->type()==TQEvent::MouseButtonPress) {
update(); //to repaint focus rect
}
}
// hide popup menu as soon as it loses focus
- if (TQT_BASE_OBJECT(watched)==TQT_BASE_OBJECT(m_popupMenu) && e->type()==TQEvent::FocusOut) {
+ if (watched==m_popupMenu && e->type()==TQEvent::FocusOut) {
m_popupMenu->hide();
}
return KexiFrame::eventFilter(watched, e);