summaryrefslogtreecommitdiffstats
path: root/kasteroids/sprites.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 /kasteroids/sprites.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 'kasteroids/sprites.h')
-rw-r--r--kasteroids/sprites.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kasteroids/sprites.h b/kasteroids/sprites.h
index 0b0a718a..43dc34ea 100644
--- a/kasteroids/sprites.h
+++ b/kasteroids/sprites.h
@@ -7,7 +7,7 @@
#ifndef __SPRITES_H__
#define __SPRITES_H__
-#include <qcanvas.h>
+#include <tqcanvas.h>
#define ID_ROCK_LARGE 1024
#define ID_ROCK_MEDIUM 1025
@@ -34,7 +34,7 @@
class KMissile : public QCanvasSprite
{
public:
- KMissile( QCanvasPixmapArray *s, QCanvas *c ) : QCanvasSprite( s, c )
+ KMissile( TQCanvasPixmapArray *s, TQCanvas *c ) : TQCanvasSprite( s, c )
{ myAge = 0; }
virtual int rtti() const { return ID_MISSILE; }
@@ -49,7 +49,7 @@ private:
class KBit : public QCanvasSprite
{
public:
- KBit( QCanvasPixmapArray *s, QCanvas *c ) : QCanvasSprite( s, c )
+ KBit( TQCanvasPixmapArray *s, TQCanvas *c ) : TQCanvasSprite( s, c )
{ death = 7; }
virtual int rtti() const { return ID_BIT; }
@@ -65,7 +65,7 @@ private:
class KExhaust : public QCanvasSprite
{
public:
- KExhaust( QCanvasPixmapArray *s, QCanvas *c ) : QCanvasSprite( s, c )
+ KExhaust( TQCanvasPixmapArray *s, TQCanvas *c ) : TQCanvasSprite( s, c )
{ death = 1; }
virtual int rtti() const { return ID_EXHAUST; }
@@ -81,7 +81,7 @@ private:
class KPowerup : public QCanvasSprite
{
public:
- KPowerup( QCanvasPixmapArray *s, QCanvas *c, int t ) : QCanvasSprite( s, c ),
+ KPowerup( TQCanvasPixmapArray *s, TQCanvas *c, int t ) : TQCanvasSprite( s, c ),
myAge( 0 ), type(t) { }
virtual int rtti() const { return type; }
@@ -97,7 +97,7 @@ protected:
class KRock : public QCanvasSprite
{
public:
- KRock (QCanvasPixmapArray *s, QCanvas *c, int t, int sk, int st) : QCanvasSprite( s, c )
+ KRock (TQCanvasPixmapArray *s, TQCanvas *c, int t, int sk, int st) : TQCanvasSprite( s, c )
{ type = t; skip = cskip = sk; step = st; }
void nextFrame()
@@ -120,8 +120,8 @@ private:
class KShield : public QCanvasSprite
{
public:
- KShield( QCanvasPixmapArray *s, QCanvas *c )
- : QCanvasSprite( s, c ) {}
+ KShield( TQCanvasPixmapArray *s, TQCanvas *c )
+ : TQCanvasSprite( s, c ) {}
virtual int rtti() const { return ID_SHIELD; }
};