diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-08-17 20:03:11 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-08-17 20:03:11 +0200 |
commit | 503fddb48f2229ecc6ed6930a99c4d740ff979e5 (patch) | |
tree | 81206d9572927fd636b43a00005808cec6c0ce3e /kpacman/board.h | |
parent | e0031ac458d4f414ae583a709d48c4cb0f14b09e (diff) | |
download | tdepacman-503fddb48f2229ecc6ed6930a99c4d740ff979e5.tar.gz tdepacman-503fddb48f2229ecc6ed6930a99c4d740ff979e5.zip |
Second step, convert to tqt3 libraries.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/board.h')
-rw-r--r-- | kpacman/board.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpacman/board.h b/kpacman/board.h index fffde95..061cbd8 100644 --- a/kpacman/board.h +++ b/kpacman/board.h @@ -1,10 +1,10 @@ #ifndef BOARD_H #define BOARD_H -#include <qarray.h> -#include <qstring.h> -#include <qlist.h> -#include <qrect.h> +#include <ntqarray.h> +#include <ntqstring.h> +#include <ntqlist.h> +#include <ntqrect.h> #define OUT -1 @@ -37,12 +37,12 @@ enum Image { None, Intro, Demo, Level, File }; #define pacmanBit 0x0040 #define monsterBit 0x0100 -class Board : public QArray<int> +class Board : public TQArray<int> { public: Board (int size); ~Board() {}; - void init(Image image, QString levelName=0); + void init(Image image, TQString levelName=0); void setup(const uchar *buf); void set(int pos, Square sq, int m = 0); @@ -78,8 +78,8 @@ private: bool inBounds(int pos); int sz; // size of board - QString map; - QString mapName; // Filename of the latest loaded map + TQString map; + TQString mapName; // Filename of the latest loaded map int prisonEntry; // position of prisonentry int prisonExit; // position of prisonexit |