summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/palistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/palistbox.cpp')
-rw-r--r--ksirc/puke/palistbox.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/puke/palistbox.cpp b/ksirc/puke/palistbox.cpp
index 9f43b124..211cbf91 100644
--- a/ksirc/puke/palistbox.cpp
+++ b/ksirc/puke/palistbox.cpp
@@ -6,14 +6,14 @@
PObject *
PAListBox::createWidget(CreateArgs &ca)
{
- PAListBox *plb = new PAListBox(ca.parent);
+ PAListBox *plb = new PAListBox(ca.tqparent);
aListBox *lb;
if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("aListBox") == TRUE){
lb = (aListBox *) ca.fetchedObj;
plb->setDeleteAble(FALSE);
}
- else if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- lb = new aListBox((TQWidget *) ca.parent->widget());
+ else if(ca.tqparent != 0 && ca.tqparent->widget()->isWidgetType() == TRUE)
+ lb = new aListBox((TQWidget *) ca.tqparent->widget());
else
lb = new aListBox();
plb->setWidget(lb);
@@ -22,8 +22,8 @@ PAListBox::createWidget(CreateArgs &ca)
}
-PAListBox::PAListBox(PObject *parent)
- : PListBox(parent)
+PAListBox::PAListBox(PObject *tqparent)
+ : PListBox(tqparent)
{
// kdDebug(5008) << "PListBox PListBox called" << endl;
lb = 0;
@@ -88,7 +88,7 @@ void PAListBox::messageHandler(int fd, PukeMessage *pm)
widget()->removeItem(index);
item->setVoice(pm->iArg);
widget()->inSort(item);
- widget()->repaint(TRUE);
+ widget()->tqrepaint(TRUE);
pmRet.iCommand = - pm->iCommand;
pmRet.iWinId = pm->iWinId;
@@ -108,7 +108,7 @@ void PAListBox::messageHandler(int fd, PukeMessage *pm)
widget()->removeItem(index);
item->setOp(pm->iArg);
widget()->inSort(item);
- widget()->repaint(TRUE);
+ widget()->tqrepaint(TRUE);
pmRet.iCommand = - pm->iCommand;
pmRet.iWinId = pm->iWinId;