qt5base-lts/tests/auto/gui/kernel
Marc Mutz 2431bf1b20 QPixelFormat: don't inherit it
Instead of abusing inheritance to provide convenience constructors,
use simple inline constructor functions. The name got a lower-case
q to indicate a free function. The usual fromXYZ() static methods
were deemed not fitting in this case in the initial round of review,
since they implied some kind of conversion while these functions are
simply constructors of formsts, which contain no data.

This also solves the problem that some of these ctors could have been
called with just one argument and were therefore candidates for hidden
QPixelFormat temporary injection.

QPixelFormatRgb was renamed to qPixelFormatRgba to explain the third
argument at the call site better.

There seem to be no users of this class in qt5.git at this time.

Change-Id: Ib4fe8ceb2d30744127b116a748724a3406400eb8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-08-09 09:05:24 +02:00
..
qbackingstore gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qclipboard Windows clipboard: Deny CF_DIB support for images with alpha. 2014-07-03 22:43:17 +02:00
qdrag QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qevent QEvent: document and check when registerEventTypes() returns -1 2014-03-29 12:40:05 +01:00
qfileopenevent tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
qguiapplication Add checks for widget/window leaks to kernel tests. 2014-07-24 19:39:40 +02:00
qguieventdispatcher QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguieventloop Add auto-test for running the QEventLoop test with the GUI dispatcher 2013-08-12 14:27:57 +02:00
qguimetatype Fixed testbuild with QT_NO_CURSOR 2013-06-25 07:14:54 +02:00
qguitimer QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguivariant Update QVariant tests 2014-07-10 13:14:40 +02:00
qinputmethod gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qkeysequence Merge remote-tracking branch 'origin/stable' into dev 2014-01-20 18:18:59 +01:00
qmouseevent expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qmouseevent_modal expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qopenglwindow Introduce QOpenGLWindow 2014-08-05 16:47:37 +02:00
qpalette Add a test for some copy semantics to QPalette 2014-08-06 13:52:30 +02:00
qpixelformat QPixelFormat: don't inherit it 2014-08-09 09:05:24 +02:00
qrasterwindow Introduce QRasterWindow 2014-08-05 16:47:42 +02:00
qscreen QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qsurfaceformat QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtouchevent QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qwindow tst_qwindow: Fix geometries. 2014-07-31 18:36:05 +02:00
kernel.pro Introduce QRasterWindow 2014-08-05 16:47:42 +02:00