summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/plistbox.cpp')
-rw-r--r--ksirc/puke/plistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/plistbox.cpp b/ksirc/puke/plistbox.cpp
index d0b98305..c244f81b 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") == TRUE){
+ if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQLISTBOX_OBJECT_NAME_STRING) == 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") == FALSE)
+ if(_lb != 0 && _lb->inherits(TQLISTBOX_OBJECT_NAME_STRING) == FALSE)
{
errorInvalidSet(_lb);
return;