summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgamepropertyhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/kgamepropertyhandler.h')
-rw-r--r--libkdegames/kgame/kgamepropertyhandler.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/libkdegames/kgame/kgamepropertyhandler.h b/libkdegames/kgame/kgamepropertyhandler.h
index 29a57cf1..7388b510 100644
--- a/libkdegames/kgame/kgamepropertyhandler.h
+++ b/libkdegames/kgame/kgamepropertyhandler.h
@@ -43,8 +43,8 @@ class KGamePropertyHandlerPrivate; // wow - what a name ;-)
* to care about the KGamePropertHandler. KGame and KPlayer implement
* all features of KGamePropertyHandler so you will rather use it there.
*
- * You have to use the KGamePropertyHandler as parent for all KGameProperty
- * objects but you can also use KPlayer or KGame as parent - then
+ * You have to use the KGamePropertyHandler as tqparent for all KGameProperty
+ * objects but you can also use KPlayer or KGame as tqparent - then
* KPlayer::dataHandler or KGame::dataHandler will be used.
*
* Every KGamePropertyHandler must have - just like every KGameProperty -
@@ -69,9 +69,10 @@ class KGamePropertyHandlerPrivate; // wow - what a name ;-)
* multiplied.
*
**/
-class KDE_EXPORT KGamePropertyHandler : public QObject
+class KDE_EXPORT KGamePropertyHandler : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -80,18 +81,18 @@ public:
* You have to call registerHandler before you can use this
* handler!
**/
- KGamePropertyHandler(TQObject* parent = 0);
+ KGamePropertyHandler(TQObject* tqparent = 0);
/**
* Construct a registered handler.
*
* @see registerHandler
**/
- KGamePropertyHandler(int id, const TQObject* receiver, const char* sendf, const char* emitf, TQObject* parent = 0);
+ KGamePropertyHandler(int id, const TQObject* receiver, const char* sendf, const char* emitf, TQObject* tqparent = 0);
~KGamePropertyHandler();
/**
- * Register the handler with a parent. This is to use
+ * Register the handler with a tqparent. This is to use
* if the constructor without arguments has been chosen.
* Otherwise you need not call this.
*
@@ -105,7 +106,7 @@ public:
/**
* Main message process function. This has to be called by
- * the parent's message event handler. If the id of the message
+ * the tqparent's message event handler. If the id of the message
* agrees with the id of the handler, the message is extracted
* and processed. Otherwise false is returned.
* Example:
@@ -169,7 +170,7 @@ public:
/**
* called by a property to send itself into the
* datastream. This call is simply forwarded to
- * the parent object
+ * the tqparent object
**/
bool sendProperty(TQDataStream &s);
@@ -178,7 +179,7 @@ public:
/**
* called by a property to emit a signal
* This call is simply forwarded to
- * the parent object
+ * the tqparent object
**/
void emitSignal(KGamePropertyBase *data);
@@ -194,7 +195,7 @@ public:
* @param id The ID of the property. See KGamePropertyBase::id
* @return The KGameProperty this ID is assigned to
**/
- KGamePropertyBase *find(int id);
+ KGamePropertyBase *tqfind(int id);
/**
* Clear the KGamePropertyHandler. Note that the properties are
@@ -315,7 +316,7 @@ signals:
/**
* This signal is emitted when a property needs to be sent. Only the
- * parent has to react to this.
+ * tqparent has to react to this.
* @param msgid The id of the handler
* @param sent set this to true if the property was sent successfully -
* otherwise don't touch