qt5base-lts/tests/auto/gui
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
..
image QPixelFormat: don't inherit it 2014-08-09 09:05:24 +02:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
kernel QPixelFormat: don't inherit it 2014-08-09 09:05:24 +02:00
math3d Add viewport transform to QMatrix4x4 2014-05-16 09:53:58 +02:00
painting QImage support for RGB30 formats 2014-07-04 14:03:46 +02:00
qopengl Add support for glMapBufferRange in the wrappers and resolvers 2014-08-08 07:29:53 +02:00
text tst_QFont: remove unused static function 2014-07-28 10:58:06 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00