diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-29 06:41:41 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-29 06:41:41 (GMT) |
commit | bccbd58365b1a4dfce32701254145ba124270665 (patch) | |
tree | 7f03169fe44a0ff8a1687d84d8f61c3c934561f0 /demos/sub-attaq/submarine.h | |
parent | c50124a15be1e564190f4bb115e2fc67a4c82036 (diff) | |
parent | a45fe18569be1fc91e26f6e58d2f16bc8c6958de (diff) | |
download | Qt-bccbd58365b1a4dfce32701254145ba124270665.zip Qt-bccbd58365b1a4dfce32701254145ba124270665.tar.gz Qt-bccbd58365b1a4dfce32701254145ba124270665.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'demos/sub-attaq/submarine.h')
-rw-r--r-- | demos/sub-attaq/submarine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/sub-attaq/submarine.h b/demos/sub-attaq/submarine.h index 481e816..564e9c6 100644 --- a/demos/sub-attaq/submarine.h +++ b/demos/sub-attaq/submarine.h @@ -45,6 +45,7 @@ //Qt #include <QtCore/QVariantAnimation> #include <QtGui/QGraphicsWidget> +#include <QtGui/QGraphicsTransform> class PixmapItem; @@ -75,6 +76,8 @@ public: virtual int type() const; + QGraphicsRotation3D *rotation3d() const { return graphicsRotation; } + signals: void subMarineDestroyed(); void subMarineExecutionFinished(); @@ -87,6 +90,7 @@ private: int speed; Movement direction; PixmapItem *pixmapItem; + QGraphicsRotation3D *graphicsRotation; }; #endif //__SUBMARINE__H__ |