summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pobject.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/puke/pobject.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/puke/pobject.h')
-rw-r--r--ksirc/puke/pobject.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksirc/puke/pobject.h b/ksirc/puke/pobject.h
index 8e5c7c5a..d27fab58 100644
--- a/ksirc/puke/pobject.h
+++ b/ksirc/puke/pobject.h
@@ -5,7 +5,7 @@ class PObject;
class PukeController;
class CreateArgs;
-#include <qobject.h>
+#include <tqobject.h>
#include "pmessage.h"
@@ -26,18 +26,18 @@ public:
/**
* name of the widget which was fetched from kSirc, this has to be set explicitly
*/
- QObject *fetchedObj;
+ TQObject *fetchedObj;
};
class PObject : public QObject
{
Q_OBJECT
public:
- PObject(QObject *parent = 0, const char *name = 0);
+ PObject(TQObject *parent = 0, const char *name = 0);
virtual ~PObject();
/**
- * Creates a new QObject and returns a PObject
+ * Creates a new TQObject and returns a PObject
*/
static PObject *createWidget(CreateArgs &ca);
@@ -50,12 +50,12 @@ class PObject : public QObject
/**
* Sets the current opbect
*/
- virtual void setWidget(QObject *w);
+ virtual void setWidget(TQObject *w);
/**
* Returns the current object
*/
- virtual QObject *widget();
+ virtual TQObject *widget();
/**
* Sets the window id
@@ -90,7 +90,7 @@ class PObject : public QObject
/**
* Returns error description
*/
- QString error() {
+ TQString error() {
m_hasError = false;
return m_error;
}
@@ -117,16 +117,16 @@ class PObject : public QObject
protected:
PukeController *controller();
- void errorInvalidSet(QObject *_w);
+ void errorInvalidSet(TQObject *_w);
private:
- QObject *obj;
+ TQObject *obj;
PukeController *pController;
widgetId wI;
bool manualTerm;
bool deleteAble;
- QString m_error;
+ TQString m_error;
bool m_hasError;
};