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

Documentation QObject::connect(sender, F, context, F, type) misses default value for type

    XMLWordPrintable

Details

    Description

      http://qt-project.org/doc/qt-5/qobject.html#connect-6

      The function declaration should state that argument type has default value:
      Qt::ConnectionType type = Qt::AutoConnection

      Example code uses explicitly Qt::AutoConnection, indicating that Qt::AutoConnection must be specified.

      It would be also nice to document the behavior for context == nullptr.

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            bkatreniak Branislav Katreniak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes