summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/plabel.cpp')
-rw-r--r--ksirc/puke/plabel.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/puke/plabel.cpp b/ksirc/puke/plabel.cpp
index 17ca851d..4d2bba48 100644
--- a/ksirc/puke/plabel.cpp
+++ b/ksirc/puke/plabel.cpp
@@ -1,4 +1,4 @@
-#include <qmovie.h>
+#include <tqmovie.h>
#include <kdebug.h>
@@ -9,15 +9,15 @@ PObject *
PLabel::createWidget(CreateArgs &ca)
{
PLabel *pw = new PLabel(ca.parent);
- QLabel *le;
- if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("QLabel") == TRUE){
- le = (QLabel *) ca.fetchedObj;
+ TQLabel *le;
+ if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQLabel") == TRUE){
+ le = (TQLabel *) ca.fetchedObj;
pw->setDeleteAble(FALSE);
}
else if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- le = new QLabel((QWidget *) ca.parent->widget());
+ le = new TQLabel((TQWidget *) ca.parent->widget());
else
- le = new QLabel((QWidget *)0L);
+ le = new TQLabel((TQWidget *)0L);
pw->setWidget(le);
pw->setWidgetId(ca.pwI);
return pw;
@@ -61,7 +61,7 @@ void PLabel::messageHandler(int fd, PukeMessage *pm)
if(!checkWidget())
return;
- widget()->setPixmap(QPixmap(pm->cArg));
+ widget()->setPixmap(TQPixmap(pm->cArg));
pmRet.iCommand = - pm->iCommand;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = 0;
@@ -72,7 +72,7 @@ void PLabel::messageHandler(int fd, PukeMessage *pm)
if(!checkWidget())
return;
- widget()->setMovie(QMovie(pm->cArg));
+ widget()->setMovie(TQMovie(pm->cArg));
pmRet.iCommand = - pm->iCommand;
pmRet.iWinId = pm->iWinId;
pmRet.iArg = 0;
@@ -95,21 +95,21 @@ void PLabel::messageHandler(int fd, PukeMessage *pm)
}
}
-void PLabel::setWidget(QObject *_l)
+void PLabel::setWidget(TQObject *_l)
{
- if(_l != 0 && _l->inherits("QLabel") == FALSE)
+ if(_l != 0 && _l->inherits("TQLabel") == FALSE)
{
errorInvalidSet(_l);
return;
}
- label = (QLabel *) _l;
+ label = (TQLabel *) _l;
PWidget::setWidget(_l);
}
-QLabel *PLabel::widget()
+TQLabel *PLabel::widget()
{
return label;
}