summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ptabdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/ptabdialog.cpp')
-rw-r--r--ksirc/puke/ptabdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksirc/puke/ptabdialog.cpp b/ksirc/puke/ptabdialog.cpp
index b0e3ba2c..4099aa0a 100644
--- a/ksirc/puke/ptabdialog.cpp
+++ b/ksirc/puke/ptabdialog.cpp
@@ -9,24 +9,24 @@ PObject *
PTabDialog::createWidget(CreateArgs &ca)
{
PTabDialog *ptd = new PTabDialog(ca.parent);
- QTabDialog *qtd;
+ TQTabDialog *qtd;
// Retreive the border and direction information out of the
// carg string
- if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("QTabDialog") == TRUE){
- qtd = (QTabDialog *) ca.fetchedObj;
+ if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQTabDialog") == TRUE){
+ qtd = (TQTabDialog *) ca.fetchedObj;
ptd->setDeleteAble(FALSE);
}
else if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- qtd = new QTabDialog((QWidget *) ca.parent->widget());
+ qtd = new TQTabDialog((TQWidget *) ca.parent->widget());
else
- qtd = new QTabDialog();
+ qtd = new TQTabDialog();
ptd->setWidget(qtd);
ptd->setWidgetId(ca.pwI);
ptd->setPukeController(ca.pc);
return ptd;
}
-PTabDialog::PTabDialog(QObject *)
+PTabDialog::PTabDialog(TQObject *)
: PWidget()
{
// Connect slots as needed
@@ -76,22 +76,22 @@ void PTabDialog::messageHandler(int fd, PukeMessage *pm)
}
-void PTabDialog::setWidget(QObject *tb)
+void PTabDialog::setWidget(TQObject *tb)
{
- if(tb != 0 && tb->inherits("QTabDialog") == FALSE)
+ if(tb != 0 && tb->inherits("TQTabDialog") == FALSE)
{
errorInvalidSet(tb);
return;
}
- tab = (QTabDialog *) tb;
+ tab = (TQTabDialog *) tb;
if(tab != 0){
}
PObject::setWidget(tb);
}
-QTabDialog *PTabDialog::widget()
+TQTabDialog *PTabDialog::widget()
{
// kdDebug(5008) << "PObject widget called" << endl;
return tab;