From 7a6d31ab7b64ed5346d63a59ab58b1ccdfe64ce7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:02:40 +0900 Subject: [PATCH] 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 cfe04adb2d809ae6ff02108b8156e4583bb7fcc9) --- 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;