change QPoint constructor