Hi

I am saving out the properties of a textitem that was created for an image and constructing the item while reloading the image.However i seem to be making some mistake with pos()
Here is what i use:

QDataStream out(&itemfile);
....
.....
out<<textItem->pos();


While reading in ,

QPoint p;
in >> p;
textItem->setPos(p);

this does not work .If i try to test using setPos(100,100), then the item is displayed.
Apparently am making some mistake..

Thanks