berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
wmayer
d5921e08ec
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
042f0ee8c6
[Gui] Tool* etc.:remove unused includes
2022-03-05 18:08:13 +01:00
wmayer
84a164ba30
Qt5: 'static QString Gui::TaskView::TaskWatcherCommands::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
Mateusz Skowroński
cd2db00f22
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00