Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2461

Suggestion: Qt 4 does not have enough explicit constructors

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.4.0
    • Other
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes