summaryrefslogtreecommitdiffstats
path: root/knights/definitions.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/definitions.h')
-rw-r--r--knights/definitions.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/knights/definitions.h b/knights/definitions.h
index 858331d..c6d2811 100644
--- a/knights/definitions.h
+++ b/knights/definitions.h
@@ -34,7 +34,7 @@
#define CONFIG_VERSION 1
#include <kdebug.h>
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
/*
These are used to define the game's states.
@@ -50,7 +50,7 @@ const int PLAYEREMAIL = 0x01; // Email Opponent
const int PLAYERTCP = 0x02; // Internet Chess Engine
const int PLAYERLOAD = 0x03; // Load from PGN
- /* Add a mask of 0x10 to players that accept user input */
+ /* Add a tqmask of 0x10 to players that accept user input */
const int PLAYERLOCAL = 0x10; // Human sitting at the PC
const int PLAYEREXAMINE = 0x11; // ICS Examine Mode
@@ -72,7 +72,7 @@ const int MENU_LOAD = 0x02;
const int MENU_SAVE = 0x03;
const int MENU_SAVEAS = 0x04;
const int MENU_PRINT = 0x05;
-const int MENU_QUIT = 0x06;
+const int MENU_TQUIT = 0x06;
const int MENU_CLOSE = 0x08;
const int MENU_CLOSEALL = 0x09;
const int MENU_CONNECT = 0x0A;
@@ -191,7 +191,7 @@ const int UCI = 0x04;
/* Events */
/*
- These constants represent QEvent types.
+ These constants represent TQEvent types.
*/
const int EVENT_Del_IO_Net = 0x000003e9;
@@ -236,12 +236,12 @@ const char ICS_Movelist = 3;
typedef struct ThemeHeader
{
- QString name;
- QString version;
- QString author;
- QString authorEmail;
- QString authorWWW;
- QString notes;
+ TQString name;
+ TQString version;
+ TQString author;
+ TQString authorEmail;
+ TQString authorWWW;
+ TQString notes;
};
typedef struct ChessMove
@@ -287,6 +287,6 @@ typedef struct TCP
int Increment;
};
-typedef QValueList<TCP> TCPList;
+typedef TQValueList<TCP> TCPList;
#endif