summaryrefslogtreecommitdiffstats
path: root/knights/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/command.h')
-rw-r--r--knights/command.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/knights/command.h b/knights/command.h
index c10e300..3076c71 100644
--- a/knights/command.h
+++ b/knights/command.h
@@ -18,7 +18,7 @@
#ifndef COMMAND_H
#define COMMAND_H
-#include <qstring.h>
+#include <tqstring.h>
#include "definitions.h"
/**
@@ -114,14 +114,14 @@ protected:
struct ChessMove move;
int command;
int id;
- QString data; // Generic String... used for ICS and FEN, etc.
+ TQString data; // Generic String... used for ICS and FEN, etc.
public:
Command( int ID, int Command );
- Command( int ID, int Command, QString Data );
+ Command( int ID, int Command, TQString Data );
Command( int ID, int Command, int WhiteTime, int BlackTime, struct ChessMove Move );
- Command( int ID, int Command, int WhiteTime, int BlackTime, struct ChessMove Move, QString Data );
- Command( int ID, int Command, int WhiteTime, int BlackTime, QString Data );
+ Command( int ID, int Command, int WhiteTime, int BlackTime, struct ChessMove Move, TQString Data );
+ Command( int ID, int Command, int WhiteTime, int BlackTime, TQString Data );
Command();
~Command();
void clear( void );
@@ -155,7 +155,7 @@ public:
return command;
}
- QString& getData( void )
+ TQString& getData( void )
{
return data;
}
@@ -185,7 +185,7 @@ public:
command = NewCommand;
}
- void setData( QString &NewData )
+ void setData( TQString &NewData )
{
data = NewData;
}