qt6-bb10/tests/auto/gui
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
..
image Remove qSort usages from gui tests 2014-02-20 08:10:19 +01:00
itemmodels expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
kernel Restore support for -title command line argument on X11, add -qwindowtitle. 2014-02-12 20:12:17 +01:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting QPen: add move constructor 2014-02-28 21:27:41 +01:00
qopengl QOpenGLTextureBlitter: add some autotests 2014-02-16 11:06:00 +01:00
text Revert "Fix application font removal when using FontConfig" 2014-02-25 21:51:07 +01:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00