From f0d0dabf77ba63a31a571ba73c9374be5f262c21 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:29:02 +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 75b9f40221399ae82b0169494af7db6d35d0a070) --- ksirc/puke/plistbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ksirc/puke/plistbox.cpp') diff --git a/ksirc/puke/plistbox.cpp b/ksirc/puke/plistbox.cpp index c244f81b..d0b98305 100644 --- a/ksirc/puke/plistbox.cpp +++ b/ksirc/puke/plistbox.cpp @@ -8,7 +8,7 @@ PListBox::createWidget(CreateArgs &ca) { PListBox *plb = new PListBox(ca.parent); TQListBox *lb; - if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQLISTBOX_OBJECT_NAME_STRING) == TRUE){ + if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQListBox") == TRUE){ lb = (TQListBox *) ca.fetchedObj; plb->setDeleteAble(FALSE); } @@ -152,7 +152,7 @@ void PListBox::messageHandler(int fd, PukeMessage *pm) void PListBox::setWidget(TQObject *_lb) { - if(_lb != 0 && _lb->inherits(TQLISTBOX_OBJECT_NAME_STRING) == FALSE) + if(_lb != 0 && _lb->inherits("TQListBox") == FALSE) { errorInvalidSet(_lb); return; -- cgit v1.2.1