qt5base-lts/examples/widgets
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
..
animation Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
desktop Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
dialogs Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
doc Update copyright headers 2015-02-11 06:49:51 +00:00
draganddrop Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
effects Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
gestures Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
graphicsview Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
itemviews Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
layouts Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
mac Update copyright headers 2015-02-11 06:49:51 +00:00
mainwindows Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
painting Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
richtext Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
scroller Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
statemachine Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
tools Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
tutorials Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
widgets Use C++ <cmath> instead of <math.h> 2015-02-16 16:21:15 +00:00
windowcontainer Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
widgets.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00