summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pframe.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/puke/pframe.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;