summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pprogress.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/pprogress.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/pprogress.cpp')
-rw-r--r--ksirc/puke/pprogress.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ksirc/puke/pprogress.cpp b/ksirc/puke/pprogress.cpp
index 75c7fa4b..09ed39d2 100644
--- a/ksirc/puke/pprogress.cpp
+++ b/ksirc/puke/pprogress.cpp
@@ -11,7 +11,7 @@ PProgress::createWidget(CreateArgs &ca)
PProgress *pw = new PProgress(ca.parent);
KSProgress *ksp;
if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- ksp = new KSProgress((QWidget *) ca.parent->widget());
+ ksp = new KSProgress((TQWidget *) ca.parent->widget());
else
ksp = new KSProgress();
pw->setWidget(ksp);
@@ -66,7 +66,7 @@ void PProgress::messageHandler(int fd, PukeMessage *pm)
break;
}
case PUKE_KSPROGRESS_SET_TOPTEXT:
- widget()->setTopText(QString(pm->cArg));
+ widget()->setTopText(TQString(pm->cArg));
pmRet.iCommand = PUKE_KSPROGRESS_SET_TOPTEXT;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = 0;
@@ -74,7 +74,7 @@ void PProgress::messageHandler(int fd, PukeMessage *pm)
emit outputMessage(fd, &pmRet);
break;
case PUKE_KSPROGRESS_SET_BOTTEXT:
- widget()->setBotText(QString(pm->cArg));
+ widget()->setBotText(TQString(pm->cArg));
pmRet.iCommand = PUKE_KSPROGRESS_SET_BOTTEXT;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = 0;
@@ -104,7 +104,7 @@ void PProgress::cancelPressed(){
emit outputMessage(widgetIden().fd, &pmRet);
}
-void PProgress::setWidget(QObject *_f)
+void PProgress::setWidget(TQObject *_f)
{
// kdDebug(5008) << "PProgress setWidget called" << endl;
if(_f != 0 && _f->inherits("KSProgress") == FALSE)
@@ -115,8 +115,8 @@ void PProgress::setWidget(QObject *_f)
ksp = (KSProgress *) _f;
if(widget() != 0){
- connect(widget(), SIGNAL(cancel()),
- this, SLOT(cancelPressed()));
+ connect(widget(), TQT_SIGNAL(cancel()),
+ this, TQT_SLOT(cancelPressed()));
}
PWidget::setWidget(ksp);