summaryrefslogtreecommitdiffstats
path: root/kmahjongg/BoardLayout.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 /kmahjongg/BoardLayout.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 '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;
};