From cfe04adb2d809ae6ff02108b8156e4583bb7fcc9 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Tue, 11 Jul 2023 21:02: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 <michele.calgaro@yahoo.it>
---
 konversation/src/konvisettingsdialog.cpp | 2 +-
 konversation/src/searchbar.cpp           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/konversation/src/konvisettingsdialog.cpp b/konversation/src/konvisettingsdialog.cpp
index 6b77e62..14d8661 100644
--- a/konversation/src/konvisettingsdialog.cpp
+++ b/konversation/src/konvisettingsdialog.cpp
@@ -219,7 +219,7 @@ void KonviSettingsDialog::showEvent(TQShowEvent* e)
 {
   KonviConfigDialog::showEvent(e);
 
-  TQSplitter* splitter = ((TQSplitter*)child(0, TQSPLITTER_OBJECT_NAME_STRING, true));
+  TQSplitter* splitter = ((TQSplitter*)child(0, "TQSplitter", true));
   TDEListView* listView = ((TDEListView*)child(0, "TDEListView", true));
 
   if (splitter && listView)
diff --git a/konversation/src/searchbar.cpp b/konversation/src/searchbar.cpp
index 2808ed3..d4f060c 100644
--- a/konversation/src/searchbar.cpp
+++ b/konversation/src/searchbar.cpp
@@ -87,7 +87,7 @@ void SearchBar::showEvent(TQShowEvent *e)
 
 bool SearchBar::focusedChild()
 {
-    TQObjectList *l = queryList(TQWIDGET_OBJECT_NAME_STRING, 0,0, true);
+    TQObjectList *l = queryList("TQWidget", 0,0, true);
     TQObjectListIt it( *l ); 
     TQObject *obj;
     bool has=false;
-- 
cgit v1.2.3

