summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/ppushbt.cpp')
-rw-r--r--ksirc/puke/ppushbt.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/puke/ppushbt.cpp b/ksirc/puke/ppushbt.cpp
index 48cf6121..346abcd3 100644
--- a/ksirc/puke/ppushbt.cpp
+++ b/ksirc/puke/ppushbt.cpp
@@ -6,11 +6,11 @@ PObject *
PPushButton::createWidget(CreateArgs &ca)
{
PPushButton *pb = new PPushButton(ca.parent);
- QPushButton *qb;
+ TQPushButton *qb;
if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- qb = new QPushButton((QWidget *) ca.parent->widget());
+ qb = new TQPushButton((TQWidget *) ca.parent->widget());
else
- qb = new QPushButton(0L);
+ qb = new TQPushButton(0L);
pb->setWidget(qb);
pb->setWidgetId(ca.pwI);
return pb;
@@ -43,15 +43,15 @@ void PPushButton::messageHandler(int fd, PukeMessage *pm)
}
}
-void PPushButton::setWidget(QObject *_qb)
+void PPushButton::setWidget(TQObject *_qb)
{
- if(_qb != 0 && _qb->inherits("QPushButton") == FALSE)
+ if(_qb != 0 && _qb->inherits("TQPushButton") == FALSE)
{
errorInvalidSet(_qb);
return;
}
- button = (QPushButton *) _qb;
+ button = (TQPushButton *) _qb;
if(_qb != 0){
}
PButton::setWidget(_qb);
@@ -59,7 +59,7 @@ void PPushButton::setWidget(QObject *_qb)
}
-QPushButton *PPushButton::widget()
+TQPushButton *PPushButton::widget()
{
return button;
}