diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
commit | 576eb4299a00bc053db35414406f46372a0f70f2 (patch) | |
tree | 4c030922d533821db464af566188e7d40cc8848c /ksnake/pixServer.h | |
parent | 0718336b6017d1a4fc1d626544180a5a2a29ddec (diff) | |
download | tdegames-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 'ksnake/pixServer.h')
-rw-r--r-- | ksnake/pixServer.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksnake/pixServer.h b/ksnake/pixServer.h index 783f7efa..c081a491 100644 --- a/ksnake/pixServer.h +++ b/ksnake/pixServer.h @@ -26,7 +26,7 @@ #ifndef PIXSERVER_H #define PIXSERVER_H -#include <qpixmap.h> +#include <tqpixmap.h> class Board; enum SnakePix {TailUp, TailDown, TailRight, TailLeft, @@ -41,7 +41,7 @@ class PixServer { public: PixServer (Board *); - QPixmap levelPix() const { return cachePix; } + TQPixmap levelPix() const { return cachePix; } void initRoomPixmap(); void initBrickPixmap(); @@ -55,20 +55,20 @@ public: private: Board *board; - void drawBrick(QPainter *, int); + void drawBrick(TQPainter *, int); - QPixmap samyPix[18]; - QPixmap compuSnakePix[18]; - QPixmap ballPix[4]; - QPixmap applePix[2]; + TQPixmap samyPix[18]; + TQPixmap compuSnakePix[18]; + TQPixmap ballPix[4]; + TQPixmap applePix[2]; - QPixmap roomPix; - QPixmap cachePix; - QPixmap offPix; - QPixmap backPix; + TQPixmap roomPix; + TQPixmap cachePix; + TQPixmap offPix; + TQPixmap backPix; bool plainColor; - QColor backgroundColor; + TQColor backgroundColor; }; |