summaryrefslogtreecommitdiffstats
path: root/tdm
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 16:25:00 +0900
commit76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8 (patch)
treed104cde3708dce85cfd6b3ed73cfbafa4ffb9e06 /tdm
parenta5979a0e0f46e7da68d50d16919e46b89dc9e9e9 (diff)
downloadtdebase-76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8.tar.gz
tdebase-76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8.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> (cherry picked from commit 22625693f124aae09863f4d33e30b625a96c3557)
Diffstat (limited to 'tdm')
-rw-r--r--tdm/kfrontend/themer/tdmitem.cpp2
-rw-r--r--tdm/kfrontend/themer/tdmthemer.cpp2
2 files changed, 2 insertions, 2 deletions
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();
}