summaryrefslogtreecommitdiffstats
path: root/kate/app/katemdi.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 10:17:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 10:08:05 +0900
commit22625693f124aae09863f4d33e30b625a96c3557 (patch)
treef8c5e348d163222d25d1e0de896910bb06ce7aed /kate/app/katemdi.cpp
parent0d30cdb3832749dc273f6d7bb82859937a462b43 (diff)
downloadtdebase-22625693f124aae09863f4d33e30b625a96c3557.tar.gz
tdebase-22625693f124aae09863f4d33e30b625a96c3557.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 'kate/app/katemdi.cpp')
-rw-r--r--kate/app/katemdi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/app/katemdi.cpp b/kate/app/katemdi.cpp
index 473d26014..9ce970849 100644
--- a/kate/app/katemdi.cpp
+++ b/kate/app/katemdi.cpp
@@ -256,7 +256,7 @@ 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)) {
+ if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast("TQWidget")) {
setFocusProxy (::tqqt_cast<QWidget*>(TQT_TQOBJECT(ev->child())));
}