qt5base-lts/src/gui/util
Allan Sandfeld Jensen 515e802ae2 Use C++ <cmath> instead of <math.h>
Including math.h can pollute the default namespace, and break
some compilers if cmath versions of the method are declared as using.

Switching to C++ math functions also greatly simplifies handling of
float qreal as C++ automatically chooses the right method.

[ChangeLog][QtCore][QtMath] qmath.h no longer includes math.h, so any
sources depending on that indirect inclusion may fail to build.

Change-Id: I4d0e331dafba354ec05dc5052e61ef4ff8d387fe
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2015-02-16 16:21:15 +00:00
..
qabstractlayoutstyleinfo_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qabstractlayoutstyleinfo.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qdesktopservices.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qdesktopservices.h Update copyright headers 2015-02-11 06:49:51 +00:00
qgridlayoutengine_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qgridlayoutengine.cpp Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
qhexstring_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qlayoutpolicy_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qlayoutpolicy.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qvalidator.cpp Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
qvalidator.h Update copyright headers 2015-02-11 06:49:51 +00:00
util.pri Move QGridLayoutEngine to QtGui module 2013-12-09 16:22:38 +01:00