summaryrefslogtreecommitdiffstats
path: root/examples/animation/sub-attaq/torpedo.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/sub-attaq/torpedo.h')
-rw-r--r--examples/animation/sub-attaq/torpedo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/animation/sub-attaq/torpedo.h b/examples/animation/sub-attaq/torpedo.h
index 4a0f457..f5ab614 100644
--- a/examples/animation/sub-attaq/torpedo.h
+++ b/examples/animation/sub-attaq/torpedo.h
@@ -53,14 +53,13 @@ class PixmapItem;
class Torpedo : public QGraphicsWidget
{
Q_OBJECT
-Q_PROPERTY(QPointF pos READ pos WRITE setPos)
public:
Torpedo(QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0);
void launch();
void setCurrentSpeed(int speed);
void destroy();
-Q_SIGNALS:
+signals:
void torpedoExplosed();
void torpedoExecutionFinished();