diff options
Diffstat (limited to 'ksirc/puke/plabel.cpp')
-rw-r--r-- | ksirc/puke/plabel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/plabel.cpp b/ksirc/puke/plabel.cpp index 7567ac08..4d2bba48 100644 --- a/ksirc/puke/plabel.cpp +++ b/ksirc/puke/plabel.cpp @@ -10,7 +10,7 @@ PLabel::createWidget(CreateArgs &ca) { PLabel *pw = new PLabel(ca.parent); TQLabel *le; - if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQLABEL_OBJECT_NAME_STRING) == TRUE){ + if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQLabel") == TRUE){ le = (TQLabel *) ca.fetchedObj; pw->setDeleteAble(FALSE); } @@ -97,7 +97,7 @@ void PLabel::messageHandler(int fd, PukeMessage *pm) void PLabel::setWidget(TQObject *_l) { - if(_l != 0 && _l->inherits(TQLABEL_OBJECT_NAME_STRING) == FALSE) + if(_l != 0 && _l->inherits("TQLabel") == FALSE) { errorInvalidSet(_l); return; |