qt6-bb10/src/gui
Marc Mutz f2d1f3f1c7 QColor: plaster API with Q_DECL_NOTHROW
This is mostly straight-forward, but some things are worth noting:

1. Yes, this is necessary. The noexcept operator looks for noexcept tagging,
   not at the contents of the function to determine whether to return true.
   The more conditionally-noexcept functions are used, the more important it
   becomes that low-level classes are correctly marked noexcept. In that, it
   is like constexpr.
2. In accordance with the rules governing noexcept specifications for the
   standard library itself, the get*() functions, as well as any function
   taking (but not returning) channel values as ints or qreals, or taking
   QStrings are not marked as noexcept, since they have preconditions and
   thus a narrow contract. Narrow-contract functions should not be noexcept.
   All other functions have wide contracts (ie. no preconditions).
3. Any function returning QString can throw (bad_alloc).
   Consequently, they, too, are not marked nothrow.

Change-Id: I023356ba1b9a4b057e613cd45380a89b222dc09d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-01-29 06:16:13 +00:00
..
accessible Compile fix for QT_NO_ACCESSIBILITY 2016-01-28 14:10:55 +00:00
animation Updated license headers 2016-01-15 12:25:24 +00:00
doc Doc: added sample to QFileOpenEvent class details 2015-11-24 23:46:12 +00:00
image Merge remote-tracking branch 'origin/5.6' into dev 2016-01-21 08:17:21 +01:00
itemmodels Updated license headers 2016-01-15 12:25:24 +00:00
kernel Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
math3d Updated license headers 2016-01-15 12:25:24 +00:00
opengl Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
painting QColor: plaster API with Q_DECL_NOTHROW 2016-01-29 06:16:13 +00:00
text Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
util Updated license headers 2016-01-15 12:25:24 +00:00
Qt5GuiConfigExtras.cmake.in Add default path to CFLAGS for OpenGL 2014-12-16 11:48:40 +01:00
QtGui.dynlist Add dynlist file for QtGui 2013-03-18 17:11:04 +01:00
gui.pro Link to AppKit instead of Cocoa. 2015-09-05 11:49:17 +00:00