qt6-bb10/src
Marc Mutz db8167c224 QPen: add move constructor
After this change, the relation between copy/move constructor calls in QtGui is
something like 40/16.

A moved-from QPen can only be copied, assigned-to or else destroyed. This required
adding a nullptr check to the copy ctor and the dtor and rewriting copy assignment
(which used non-nullptr-safe qAtomicAssign) in terms of copy construction and
swapping.

Extensive tests included. They are implemented such that they work in C++98 as well
as C++11 mode, but they naturally test move semantics only in a C++11 build.

Change-Id: If68f37c10b8eeefb2478cbae386cd2e38b4f6e19
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-02-28 21:27:41 +01:00
..
3rdparty ANGLE: Allow for universal program binaries 2014-02-26 07:56:53 +01:00
android Android: Make default permissions less confusing 2014-02-26 12:58:00 +01:00
angle Use Qt's RTTI setting when building ANGLE statically. 2014-02-26 12:58:00 +01:00
concurrent QtConcurrent: Extend workaround GCC bug 58800 in median calculation 2014-02-19 06:45:00 +01:00
corelib QSharedPointer/QWeakPointer: clean up class definition 2014-02-28 21:27:41 +01:00
dbus Make D-Bus types without a matching Qt one prettier in qdbus 2014-02-22 04:38:56 +01:00
gui QPen: add move constructor 2014-02-28 21:27:41 +01:00
network Merge remote-tracking branch 'origin/stable' into dev 2014-02-28 13:14:15 +01:00
opengl Fix texture glyph cache setup in old OpenGL paint engine 2014-02-24 12:08:08 +01:00
openglextensions
platformsupport eglfs: Improve cursors and hotspots 2014-02-26 12:58:00 +01:00
plugins Merge remote-tracking branch 'origin/stable' into dev 2014-02-28 13:14:15 +01:00
printsupport QPrintEngine - Improve devMode handling 2014-02-26 12:58:00 +01:00
sql Merge remote-tracking branch 'origin/stable' into dev 2014-02-07 13:07:25 +01:00
testlib Merge remote-tracking branch 'origin/stable' into dev 2014-02-28 13:14:15 +01:00
tools Doc: Removed Contents listing for Qt Examples and Tutorials page. 2014-02-20 11:06:14 +01:00
widgets Fix focus in Active Qt webbrowser. 2014-02-28 21:27:41 +01:00
winmain WinRT winmain: handle -qdevel parameter for additional debugging tooling 2014-01-30 22:09:55 +01:00
xml expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
src.pro Dynamic GL switch on Windows 2014-02-14 10:51:44 +01:00