summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgamechat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgame/kgamechat.h')
-rw-r--r--libkdegames/kgame/kgamechat.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/libkdegames/kgame/kgamechat.h b/libkdegames/kgame/kgamechat.h
index effcca22..f0d8310d 100644
--- a/libkdegames/kgame/kgamechat.h
+++ b/libkdegames/kgame/kgamechat.h
@@ -43,20 +43,21 @@ class KGameChatPrivate;
class KDE_EXPORT KGameChat : public KChatBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Construct a @ref KGame chat widget on @p game that used @p msgid for
* the chat message. The @p fromPlayer is the local player (see @ref
* setFromPlayer).
**/
- KGameChat(KGame* game, int msgid, KPlayer* fromPlayer, TQWidget * parent);
+ KGameChat(KGame* game, int msgid, KPlayer* fromPlayer, TQWidget * tqparent);
/**
* @overload
* To make use of this widget you need to call @ref setFromPlayer
* manually.
**/
- KGameChat(KGame* game, int msgId, TQWidget* parent);
+ KGameChat(KGame* game, int msgId, TQWidget* tqparent);
/**
* @overload
@@ -64,7 +65,7 @@ public:
* setGame, setFromPlayer and setMessageId manually.
* @since 3.2
**/
- KGameChat(TQWidget* parent);
+ KGameChat(TQWidget* tqparent);
virtual ~KGameChat();
@@ -102,7 +103,7 @@ public:
/**
* Change the message id of the chat widget. It is recommended that you
* don't use this but prefer the constructor instead, but in certain
- * situations (such as using this widget in Qt designer) it may be
+ * situations (such as using this widget in TQt designer) it may be
* useful to change the message id.
*
* See also @ref messageId
@@ -121,7 +122,7 @@ public slots:
virtual void addMessage(const TQString& fromName, const TQString& text) { KChatBase::addMessage(fromName, text);}
virtual void addMessage(int fromId, const TQString& text);
- void slotReceiveMessage(int, const TQByteArray&, Q_UINT32 receiver, Q_UINT32 sender);
+ void slotReceiveMessage(int, const TQByteArray&, TQ_UINT32 receiver, TQ_UINT32 sender);
protected:
/**
@@ -208,7 +209,7 @@ protected slots:
* gets forwarded to slotReceiveMessage if @p me equals
* fromPlayer.
**/
- void slotReceivePrivateMessage(int msgid, const TQByteArray& buffer, Q_UINT32 sender, KPlayer* me);
+ void slotReceivePrivateMessage(int msgid, const TQByteArray& buffer, TQ_UINT32 sender, KPlayer* me);
protected:
virtual void returnPressed(const TQString& text);