summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/pframe.cpp')
-rw-r--r--ksirc/puke/pframe.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksirc/puke/pframe.cpp b/ksirc/puke/pframe.cpp
index ed58d5a7..6acad37e 100644
--- a/ksirc/puke/pframe.cpp
+++ b/ksirc/puke/pframe.cpp
@@ -4,11 +4,11 @@
PObject *
PFrame::createWidget(CreateArgs &ca)
{
- PFrame *pw = new PFrame(ca.parent);
+ PFrame *pw = new PFrame(ca.tqparent);
TQFrame *tf;
- if(ca.parent != 0 &&
- ca.parent->widget()->isWidgetType() == TRUE)
- tf = new TQFrame((TQWidget *) ca.parent->widget());
+ if(ca.tqparent != 0 &&
+ ca.tqparent->widget()->isWidgetType() == TRUE)
+ tf = new TQFrame((TQWidget *) ca.tqparent->widget());
else
tf = new TQFrame();
pw->setWidget(tf);
@@ -18,8 +18,8 @@ PFrame::createWidget(CreateArgs &ca)
}
-PFrame::PFrame( PObject *parent)
- : PWidget(parent)
+PFrame::PFrame( PObject *tqparent)
+ : PWidget(tqparent)
{
// kdDebug(5008) << "PFrame PFrame called" << endl;
frame = 0;
@@ -40,17 +40,17 @@ void PFrame::messageHandler(int fd, PukeMessage *pm)
// kdDebug(5008) << "PFrame handler called" << endl;
PukeMessage pmRet;
switch(pm->iCommand){
- case PUKE_QFRAME_SET_FRAME:
+ case PUKE_TQFRAME_SET_FRAME:
widget()->setFrameStyle(pm->iArg);
- pmRet.iCommand = PUKE_QFRAME_SET_FRAME_ACK;
+ pmRet.iCommand = PUKE_TQFRAME_SET_FRAME_ACK;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = widget()->frameStyle();
pmRet.cArg = 0;
emit outputMessage(fd, &pmRet);
break;
- case PUKE_QFRAME_SET_LINEWIDTH:
+ case PUKE_TQFRAME_SET_LINEWIDTH:
widget()->setLineWidth(pm->iArg);
- pmRet.iCommand = PUKE_QFRAME_SET_LINEWIDTH_ACK;
+ pmRet.iCommand = PUKE_TQFRAME_SET_LINEWIDTH_ACK;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = widget()->lineWidth();
pmRet.cArg = 0;