diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 20:12:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 20:12:41 +0900 |
commit | 6c221fd5e739d0791facaae4fd1c7c0882b0bff1 (patch) | |
tree | 1ae26651ba29aface801a971fb1546af960d8899 /src | |
parent | c356ea7e9e86a3178c353bdbf651f002e4c2970a (diff) | |
download | ktechlab-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/katemdi.cpp | 4 |
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); } |