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.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libkdegames/kgame/kgamechat.h b/libkdegames/kgame/kgamechat.h
index 6f7ea65d..effcca22 100644
--- a/libkdegames/kgame/kgamechat.h
+++ b/libkdegames/kgame/kgamechat.h
@@ -21,7 +21,7 @@
#ifndef __KGAMECHAT_H__
#define __KGAMECHAT_H__
-#include <qstring.h>
+#include <tqstring.h>
#include "kchatbase.h"
#include <kdemacros.h>
@@ -49,14 +49,14 @@ public:
* the chat message. The @p fromPlayer is the local player (see @ref
* setFromPlayer).
**/
- KGameChat(KGame* game, int msgid, KPlayer* fromPlayer, QWidget * parent);
+ KGameChat(KGame* game, int msgid, KPlayer* fromPlayer, TQWidget * parent);
/**
* @overload
* To make use of this widget you need to call @ref setFromPlayer
* manually.
**/
- KGameChat(KGame* game, int msgId, QWidget* parent);
+ KGameChat(KGame* game, int msgId, TQWidget* parent);
/**
* @overload
@@ -64,7 +64,7 @@ public:
* setGame, setFromPlayer and setMessageId manually.
* @since 3.2
**/
- KGameChat(QWidget* parent);
+ KGameChat(TQWidget* parent);
virtual ~KGameChat();
@@ -114,14 +114,14 @@ public:
* reimplemented from @ref KChatBase
* @return @ref KPlayer::name() for the player set by @ref setFromPlayer
**/
- virtual const QString& fromName() const;
+ virtual const TQString& fromName() const;
public slots:
- virtual void addMessage(const QString& fromName, const QString& text) { KChatBase::addMessage(fromName, text);}
- virtual void addMessage(int fromId, const QString& text);
+ 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 QByteArray&, Q_UINT32 receiver, Q_UINT32 sender);
+ void slotReceiveMessage(int, const TQByteArray&, Q_UINT32 receiver, Q_UINT32 sender);
protected:
/**
@@ -187,7 +187,7 @@ protected:
* KChatBase. By default this is "send to name" where name is the name
* that you specify. See also KChatBase::addSendingEntry
**/
- virtual QString sendToPlayerEntry(const QString& name) const;
+ virtual TQString sendToPlayerEntry(const TQString& name) const;
protected slots:
@@ -208,10 +208,10 @@ protected slots:
* gets forwarded to slotReceiveMessage if @p me equals
* fromPlayer.
**/
- void slotReceivePrivateMessage(int msgid, const QByteArray& buffer, Q_UINT32 sender, KPlayer* me);
+ void slotReceivePrivateMessage(int msgid, const TQByteArray& buffer, Q_UINT32 sender, KPlayer* me);
protected:
- virtual void returnPressed(const QString& text);
+ virtual void returnPressed(const TQString& text);
private:
void init(KGame* g, int msgid);