hello there i have a function called position which is inside another class called shapeItem( ) and it returns a QPoint, but when i do the following it brings up an error saying left hand of operator has no effect. the code is listed below:
1. QPoint mid = shapeItem.position();
where, shapeItem.position is of the following:
2. QPoint ShapeItem:osition() const
3. {
4. return myPosition;
5. }
any idea's on how to make QPoint mid obtain the value from the position function??? any input would be much appreciated thanks. Jag
Bookmarks