2431bf1b20
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> |
||
---|---|---|
.. | ||
qbackingstore | ||
qclipboard | ||
qdrag | ||
qevent | ||
qfileopenevent | ||
qguiapplication | ||
qguieventdispatcher | ||
qguieventloop | ||
qguimetatype | ||
qguitimer | ||
qguivariant | ||
qinputmethod | ||
qkeysequence | ||
qmouseevent | ||
qmouseevent_modal | ||
qopenglwindow | ||
qpalette | ||
qpixelformat | ||
qrasterwindow | ||
qscreen | ||
qsurfaceformat | ||
qtouchevent | ||
qwindow | ||
kernel.pro |