subsurface/profile-widget
Rolf Eike Beer c4c8094e32 get rid of some foreach and Q_FOREACH constructs
See https://www.kdab.com/goodbye-q_foreach/

This is reduced to the places where the container is const or can be made const
without the need to always introduce an extra variable. Sadly qAsConst (Qt 5.7)
and std::as_const (C++17) are not available in all supported setups.

Also do some minor cleanups along the way.

Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
2019-04-12 12:59:17 +03:00
..
animationfunctions.cpp core/tests: merge Animations and add vars. to qPrefDisplay 2018-08-25 11:49:47 -07:00
animationfunctions.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt CMake: add headers to targets 2019-03-27 14:07:32 -07:00
divecartesianaxis.cpp profile-widget: remove SettingsObjectWrapper and update qPref calls 2018-08-15 16:11:39 -07:00
divecartesianaxis.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
diveeventitem.cpp Show a bit of surface degassing in the planner 2019-03-29 06:51:12 -07:00
diveeventitem.h Show a bit of surface degassing in the planner 2019-03-29 06:51:12 -07:00
divelineitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepixmapitem.cpp Dive video: paint duration-bar above thumbnail in profile plot 2018-07-23 15:58:55 -07:00
divepixmapitem.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
diveprofileitem.cpp Profile: ensure the correct settingsChanged() function is called 2019-03-20 21:18:06 +01:00
diveprofileitem.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
diverectitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp get rid of some foreach and Q_FOREACH constructs 2019-04-12 12:59:17 +03:00
divetooltipitem.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
profilewidget2.cpp get rid of some foreach and Q_FOREACH constructs 2019-04-12 12:59:17 +03:00
profilewidget2.h Undo: implement split-out of dive computer 2019-04-04 09:38:12 -07:00
qmlprofile.cpp profile: make profile self contained 2018-06-09 17:16:53 +02:00
qmlprofile.h profile: make profile self contained 2018-06-09 17:16:53 +02:00
ruleritem.cpp Cleanup: pass const-reference to RulerItem2::setPlotInfo() 2019-03-19 16:06:14 -07:00
ruleritem.h Cleanup: pass const-reference to RulerItem2::setPlotInfo() 2019-03-19 16:06:14 -07:00
tankitem.cpp Cleanup: remove all Q_NULLPTR instances 2019-04-02 07:34:46 -07:00
tankitem.h Cleanup: pass gasmix by value 2018-08-23 05:16:38 -07:00