summaryrefslogtreecommitdiffstats
path: root/kmahjongg/BoardLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmahjongg/BoardLayout.h')
-rw-r--r--kmahjongg/BoardLayout.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmahjongg/BoardLayout.h b/kmahjongg/BoardLayout.h
index 60048bc9..468bf5bc 100644
--- a/kmahjongg/BoardLayout.h
+++ b/kmahjongg/BoardLayout.h
@@ -1,10 +1,10 @@
#ifndef __BOARD__LAYOUT_
#define __BOARD__LAYOUT_
-#include <qstring.h>
+#include <tqstring.h>
#include "KmTypes.h"
-const QString layoutMagic1_0 = "kmahjongg-layout-v1.0";
+const TQString layoutMagic1_0 = "kmahjongg-layout-v1.0";
class BoardLayout {
@@ -12,8 +12,8 @@ public:
BoardLayout();
~BoardLayout();
- bool loadBoardLayout(const QString from);
- bool saveBoardLayout(const QString where);
+ bool loadBoardLayout(const TQString from);
+ bool saveBoardLayout(const TQString where);
UCHAR getBoardData(short z, short y, short x) {return board[z][y][x];}
// is there a tile anywhere above here (top left to bot right quarter)
@@ -46,15 +46,15 @@ public:
depth = 5 };
enum { maxTiles = (depth*width*height)/4 };
- QString &getFilename() {return filename;}
+ TQString &getFilename() {return filename;}
protected:
void initialiseBoard();
private:
- QString filename;
- QString loadedBoard;
+ TQString filename;
+ TQString loadedBoard;
UCHAR board[depth][height][width];
unsigned short maxTileNum;
};