Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.4.0
-
None
Description
Qt4 is much better than Qt3 regarding explicit constructors, but still not sufficient.
For example:
QCursor::QCursor( HCURSOR cursor );
QCursor::QCursor( Qt::HANDLE cursor );
should be explicit.
Most constructors that take a number, pointer or bool should be explicit.