summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:02:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 17:46:33 +0900
commit7a6d31ab7b64ed5346d63a59ab58b1ccdfe64ce7 (patch)
treec8a7f013e9bfd90dabe93440a63123c97e903fed
parent2d7d28eba825e1c646080ddce7cb2ece169a3529 (diff)
downloadkonversation-7a6d31ab7b64ed5346d63a59ab58b1ccdfe64ce7.tar.gz
konversation-7a6d31ab7b64ed5346d63a59ab58b1ccdfe64ce7.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 cfe04adb2d809ae6ff02108b8156e4583bb7fcc9)
-rw-r--r--konversation/src/konvisettingsdialog.cpp2
-rw-r--r--konversation/src/searchbar.cpp2
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;