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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksirc/puke/pframe.cpp b/ksirc/puke/pframe.cpp
index fcff1d96..d0dc79e3 100644
--- a/ksirc/puke/pframe.cpp
+++ b/ksirc/puke/pframe.cpp
@@ -5,12 +5,12 @@ PObject *
PFrame::createWidget(CreateArgs &ca)
{
PFrame *pw = new PFrame(ca.parent);
- QFrame *tf;
+ TQFrame *tf;
if(ca.parent != 0 &&
ca.parent->widget()->isWidgetType() == TRUE)
- tf = new QFrame((QWidget *) ca.parent->widget());
+ tf = new TQFrame((TQWidget *) ca.parent->widget());
else
- tf = new QFrame();
+ tf = new TQFrame();
pw->setWidget(tf);
pw->setWidgetId(ca.pwI);
pw->setPukeController(ca.pc);
@@ -61,20 +61,20 @@ void PFrame::messageHandler(int fd, PukeMessage *pm)
}
}
-void PFrame::setWidget(QObject *w)
+void PFrame::setWidget(TQObject *w)
{
- if(w != 0 && w->inherits("QFrame") == FALSE)
+ if(w != 0 && w->inherits("TQFrame") == FALSE)
{
errorInvalidSet(w);
return;
}
- frame = (QFrame *) w;
- PWidget::setWidget((QWidget *) w);
+ frame = (TQFrame *) w;
+ PWidget::setWidget((TQWidget *) w);
}
-QFrame *PFrame::widget()
+TQFrame *PFrame::widget()
{
// kdDebug(5008) << "PFrame widget called" << endl;
return frame;