summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/fibs/kbgfibschat.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kbackgammon/engines/fibs/kbgfibschat.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbackgammon/engines/fibs/kbgfibschat.h')
-rw-r--r--kbackgammon/engines/fibs/kbgfibschat.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbackgammon/engines/fibs/kbgfibschat.h b/kbackgammon/engines/fibs/kbgfibschat.h
index c3a1d670..491cf19b 100644
--- a/kbackgammon/engines/fibs/kbgfibschat.h
+++ b/kbackgammon/engines/fibs/kbgfibschat.h
@@ -61,7 +61,7 @@ public:
/**
* Constructor
*/
- KBgChat(QWidget *parent = 0, const char *name = 0);
+ KBgChat(TQWidget *parent = 0, const char *name = 0);
/**
* Destructor
@@ -74,7 +74,7 @@ public slots:
* Catch the RMB signal to display a context menu at p. The
* menu shows entries specific to the selected item i.
*/
- void contextMenu(QListBoxItem *i, const QPoint &p);
+ void contextMenu(TQListBoxItem *i, const TQPoint &p);
/**
* Add chat window specific pages to the setup dialog
@@ -100,12 +100,12 @@ public slots:
* Player name has logges out. Remove name from the chat
* window combo box if necessary.
*/
- void deletePlayer(const QString &name);
+ void deletePlayer(const TQString &name);
/**
* Process and append msg to the text.
*/
- void handleData(const QString &msg);
+ void handleData(const TQString &msg);
/**
* Restore previously saved setting or provides defaults
@@ -120,7 +120,7 @@ public slots:
/**
* Set the opponents name and select whisper
*/
- void startGame(const QString &name);
+ void startGame(const TQString &name);
/**
* Game is over. We won (or not) and have been playing (or not)
@@ -130,24 +130,24 @@ public slots:
/**
* Start talking to name
*/
- void fibsTalk(const QString &name);
+ void fibsTalk(const TQString &name);
signals:
/**
* Emits a string that can be sent to the server
*/
- void fibsCommand(const QString &cmd);
+ void fibsCommand(const TQString &cmd);
/**
* Request an invitation of player
*/
- void fibsRequestInvitation(const QString &player);
+ void fibsRequestInvitation(const TQString &player);
/**
* Text of a personal message
*/
- void personalMessage(const QString &msg);
+ void personalMessage(const TQString &msg);
/**
* Dialog is visible or not
@@ -159,18 +159,18 @@ protected:
/**
* Catch show events, so the engine's menu can be updated.
*/
- virtual void showEvent(QShowEvent *e);
+ virtual void showEvent(TQShowEvent *e);
/**
* Catch hide events, so the engine's menu can be updated.
*/
- virtual void hideEvent(QHideEvent *e);
+ virtual void hideEvent(TQHideEvent *e);
/**
* Create a custom ListBoxItem that contains a formated string
* for the chat window.
*/
- virtual QListBoxItem* layoutMessage(const QString& fromName, const QString& text);
+ virtual TQListBoxItem* layoutMessage(const TQString& fromName, const TQString& text);
protected slots:
@@ -262,7 +262,7 @@ protected slots:
/**
* Slot for return pressed. Time to send the text to FIBS.
*/
- void handleCommand(int id, const QString& msg);
+ void handleCommand(int id, const TQString& msg);
private: