From 878adb72a7171c11a829fb0ac8a4a58d62ac14ee Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 09:19:31 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 07e8503f11fe701f4c681dbfcb1bcb9a9aa2aae8) --- src/dolphindetailsview.cpp | 2 +- src/dolphiniconsview.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 09765da..3738426 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -498,7 +498,7 @@ void DolphinDetailsView::slotActivationUpdate() TQObjectListIterator it(list); TQObject* object = 0; while ((object = it.current()) != 0) { - if (object->inherits(TQWIDGET_OBJECT_NAME_STRING)) { + if (object->inherits("TQWidget")) { TQWidget* widget = TQT_TQWIDGET(object); widget->update(); } diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 6ad371a..8d6dc1a 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -456,7 +456,7 @@ void DolphinIconsView::slotActivationUpdate() TQObjectListIterator it(list); TQObject* object = 0; while ((object = it.current()) != 0) { - if (object->inherits(TQWIDGET_OBJECT_NAME_STRING)) { + if (object->inherits("TQWidget")) { TQWidget* widget = TQT_TQWIDGET(object); widget->update(); } -- cgit v1.2.1