summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgame/kgamechat.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /libkdegames/kgame/kgamechat.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);