X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=orientationcontrolledgraphicspixmapobject.h;h=25baeb8bb5bdca8f8c07f59933d37891e9087714;hb=a0cc968103575fd4e64a4d8b080322c031b44e22;hp=1f8d9bd9e0218b4c9380341f1f29977088241eaa;hpb=024ba91057ba3387b9d7328e5d4392d4112be8a8;p=ghostsoverboard diff --git a/orientationcontrolledgraphicspixmapobject.h b/orientationcontrolledgraphicspixmapobject.h index 1f8d9bd..25baeb8 100644 --- a/orientationcontrolledgraphicspixmapobject.h +++ b/orientationcontrolledgraphicspixmapobject.h @@ -33,6 +33,9 @@ QTM_USE_NAMESPACE class OrientationControlledGraphicsPixmapObject : public QObject, public QGraphicsPixmapItem { Q_OBJECT + + Q_PROPERTY(QPointF pos READ pos WRITE setPos) + public: // explicit OrientationControlledGraphicsPixmapObject(QGraphicsItem *parent = 0); explicit OrientationControlledGraphicsPixmapObject(QPixmap pixmap = 0, QGraphicsItem *parent = 0);