summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plabel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commitaca844682f86c04f6b67b23de2a820fb0c63a32e (patch)
tree2c26de587f689a20a49e400eab3fcb6d88c78b13 /ksirc/puke/plabel.cpp
parent9c496cd9917ea30e87a6f697b5d19119a9e2e563 (diff)
downloadtdenetwork-aca844682f86c04f6b67b23de2a820fb0c63a32e.tar.gz
tdenetwork-aca844682f86c04f6b67b23de2a820fb0c63a32e.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/puke/plabel.cpp')
-rw-r--r--ksirc/puke/plabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/plabel.cpp b/ksirc/puke/plabel.cpp
index 4d2bba48..7567ac08 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") == TRUE){
+ if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQLABEL_OBJECT_NAME_STRING) == 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") == FALSE)
+ if(_l != 0 && _l->inherits(TQLABEL_OBJECT_NAME_STRING) == FALSE)
{
errorInvalidSet(_l);
return;