summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/gnubg/kbggnubg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/engines/gnubg/kbggnubg.h')
-rw-r--r--kbackgammon/engines/gnubg/kbggnubg.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbackgammon/engines/gnubg/kbggnubg.h b/kbackgammon/engines/gnubg/kbggnubg.h
index 3240b8b1..acb007f1 100644
--- a/kbackgammon/engines/gnubg/kbggnubg.h
+++ b/kbackgammon/engines/gnubg/kbggnubg.h
@@ -30,12 +30,12 @@
#include <generic/kbgengine.h>
-#include <qtimer.h>
-#include <qspinbox.h>
+#include <tqtimer.h>
+#include <tqspinbox.h>
#include <kaction.h>
#include <krandomsequence.h>
#include <kprocess.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
/**
*
@@ -50,7 +50,7 @@ public:
/*
* Constructor and destructor
*/
- KBgEngineGNU(QWidget *parent = 0, QString *name = 0, QPopupMenu *pmenu = 0);
+ KBgEngineGNU(TQWidget *parent = 0, TQString *name = 0, TQPopupMenu *pmenu = 0);
virtual ~KBgEngineGNU();
/**
@@ -96,7 +96,7 @@ public slots:
* A move has been made on the board - see the board class
* for the format of the string s
*/
- virtual void handleMove(QString *s);
+ virtual void handleMove(TQString *s);
/**
* Undo the last move
@@ -136,7 +136,7 @@ public slots:
/**
* Process the string cmd
*/
- virtual void handleCommand(const QString& cmd);
+ virtual void handleCommand(const TQString& cmd);
/**
* Start a new game.
@@ -163,7 +163,7 @@ private:
/**
* Player's names
*/
- QString nameUS, nameTHEM;
+ TQString nameUS, nameTHEM;
/**
* Who did the last roll
@@ -192,15 +192,15 @@ private:
KProcess gnubg;
- QStringList cmdList;
+ TQStringList cmdList;
- QTimer *cmdTimer;
+ TQTimer *cmdTimer;
- QString partline;
+ TQString partline;
- QString board;
+ TQString board;
- QString lastmove;
+ TQString lastmove;
int turn;
@@ -212,7 +212,7 @@ protected slots:
void receiveData(KProcess *, char *buffer, int buflen);
- void handleLine(const QString &l);
+ void handleLine(const TQString &l);
void gnubgExit(KProcess *proc);