qt5base-lts/examples/dbus/remotecontrolledcar/car
Edward Welbourne 8095c33bcd Use qRadiansToDegrees() and qDegreesToRadians() more widely
Especially in examples, where we should show off our convenience
functions, prefer calling these functions over doing arithmetic with
M_PI (or approximations thereto) and 180 (give or take simple
factors).  This incidentally documents what's going on, just by the
name of the function used (and reveals at least one place where
variables were misnamed; the return from atan is in radians, *not*
degrees).

Task-number: QTBUG-58083
Change-Id: I6e5d66721cafab423378f970af525400423e971e
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-07-05 10:15:34 +00:00
..
car.cpp Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
car.h Unify license header usage. 2016-03-29 10:20:03 +00:00
car.pro Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
car.xml Use org.example instead of com.trolltech for the D-Bus examples 2012-04-22 21:32:33 +02:00
main.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00