summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/pobject.cpp')
-rw-r--r--ksirc/puke/pobject.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/ksirc/puke/pobject.cpp b/ksirc/puke/pobject.cpp
index f2481a04..9e46e042 100644
--- a/ksirc/puke/pobject.cpp
+++ b/ksirc/puke/pobject.cpp
@@ -2,8 +2,8 @@
#include "commands.h"
-PObject::PObject(QObject *pobject, const char *name)
- : QObject(pobject, name)
+PObject::PObject(TQObject *pobject, const char *name)
+ : TQObject(pobject, name)
{
// Connect slots as needed
obj = 0;
@@ -24,11 +24,11 @@ PObject::~PObject()
PObject *PObject::createWidget(CreateArgs &ca)
{
PObject *pw = new PObject(ca.parent);
- QObject *o;
+ TQObject *o;
if(ca.parent != 0)
- o = new QObject(ca.parent->widget());
+ o = new TQObject(ca.parent->widget());
else
- o = new QObject();
+ o = new TQObject();
pw->setWidget(o);
pw->setWidgetId(ca.pwI);
pw->setPukeController(ca.pc);
@@ -78,23 +78,23 @@ void PObject::messageHandler(int fd, PukeMessage *pm)
}
}
-void PObject::setWidget(QObject *_o)
+void PObject::setWidget(TQObject *_o)
{
// Disconnect everything from the object we where listning too
// Just in case it fires something off, we don't want to get it
if(widget() != 0){
- disconnect(widget(), SIGNAL(destroyed()),
- this, SLOT(swidgetDestroyed()));
+ disconnect(widget(), TQT_SIGNAL(destroyed()),
+ this, TQT_SLOT(swidgetDestroyed()));
}
obj = _o;
if(obj != 0){
- connect(widget(), SIGNAL(destroyed()),
- this, SLOT(swidgetDestroyed()));
+ connect(widget(), TQT_SIGNAL(destroyed()),
+ this, TQT_SLOT(swidgetDestroyed()));
}
}
-QObject *PObject::widget()
+TQObject *PObject::widget()
{
// kdDebug(5008) << "PObject widget called" << endl;
return obj;
@@ -129,9 +129,9 @@ void PObject::manTerm() {
manualTerm = TRUE;
}
-void PObject::errorInvalidSet(QObject *_w)
+void PObject::errorInvalidSet(TQObject *_w)
{
- m_error = QString("Tried setting a %1 to %2").arg(_w->className()).arg(className());
+ m_error = TQString("Tried setting a %1 to %2").arg(_w->className()).arg(className());
m_hasError = true;
}
#include "pobject.moc"