+
+void OrientationControlledGraphicsPixmapObject::setPos(const QPointF &pos)
+{
+ QPointF oldPos = OrientationControlledGraphicsPixmapObject::pos();
+
+ QGraphicsPixmapItem::setPos(pos);
+
+ if (!handleCollisions())
+ {
+ QGraphicsPixmapItem::setPos(oldPos);
+ }
+
+}
+
+
+void OrientationControlledGraphicsPixmapObject::rotationSensorReady()
+{
+
+ if (!rotationReadingInitialized_)
+ {
+ rotationReadingInitialized_ = true;
+ rotationReadingTimer_.start();
+ }
+}