[Qt] V2.6Alpha
Den Jean
Den.Jean at telenet.be
Mon Feb 3 20:33:38 CET 2014
> [1] Why you change "function" to "procedure" ? For example:
> QHoverEvent_pos , QMouseEvent_pos, QMouseEvent_globalPos,
> QMouseEvent_globalPos,
> QContextMenuEvent_pos, QContextMenuEvent_globalPos
This is a consequence of changes between Qt4 and Qt5
in the definition of these functions.
qt4: inline const QPoint &pos() const { return p; }
qt5: inline QPoint pos() const { return l.toPoint(); }
The '&' is a pretty important technical difference :-)
It is on my TODO list to see if I can do something about it using TQtPoint
Regards,
Jan
More information about the Qt
mailing list