From 22625693f124aae09863f4d33e30b625a96c3557 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 10:17:40 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- tdm/kfrontend/themer/tdmitem.cpp | 2 +- tdm/kfrontend/themer/tdmthemer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tdm/kfrontend/themer') diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index ce5904a26..955ef8f02 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -663,7 +663,7 @@ KdmItem::parentWidget() const if (!this->parent()) return 0; - if (parent()->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)) + if (parent()->tqt_cast("TQWidget")) return (TQWidget*)parent(); return ((KdmItem*)parent())->parentWidget(); } diff --git a/tdm/kfrontend/themer/tdmthemer.cpp b/tdm/kfrontend/themer/tdmthemer.cpp index 6c27b7629..8e7d33bf1 100644 --- a/tdm/kfrontend/themer/tdmthemer.cpp +++ b/tdm/kfrontend/themer/tdmthemer.cpp @@ -411,7 +411,7 @@ KdmThemer::slotActivated( const TQString &id ) } item->widget()->setFocus(); - TQLineEdit *le = (TQLineEdit*)item->widget()->tqt_cast(TQLINEEDIT_OBJECT_NAME_STRING); + TQLineEdit *le = (TQLineEdit*)item->widget()->tqt_cast("TQLineEdit"); if (le) { le->selectAll(); } -- cgit v1.2.1