summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pprogress.cpp
diff options
context:
space:
mode:
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);