summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 20:12:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 20:12:41 +0900
commit6c221fd5e739d0791facaae4fd1c7c0882b0bff1 (patch)
tree1ae26651ba29aface801a971fb1546af960d8899
parentc356ea7e9e86a3178c353bdbf651f002e4c2970a (diff)
downloadktechlab-6c221fd5e739d0791facaae4fd1c7c0882b0bff1.tar.gz
ktechlab-6c221fd5e739d0791facaae4fd1c7c0882b0bff1.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/katemdi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/katemdi.cpp b/src/katemdi.cpp
index 6fa7781..d380621 100644
--- a/src/katemdi.cpp
+++ b/src/katemdi.cpp
@@ -181,8 +181,8 @@ bool ToolView::visible () const
void ToolView::childEvent ( TQChildEvent *ev )
{
// set the widget to be focus proxy if possible
- if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING))
- setFocusProxy ((TQWidget *)(TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)));
+ if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast("TQWidget"))
+ setFocusProxy ((TQWidget *)(TQT_TQOBJECT(ev->child())->tqt_cast("TQWidget")));
TQVBox::childEvent (ev);
}