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

Improve signal signatures to avoid qOverloadOf in QtCore

    XMLWordPrintable

Details

    • All
    • 13
    • Qt6_Foundation_ Sprint 2, Qt6_Foundation_ Sprint 3

    Description

      Some classes are using overloads for signals. While this was perfectly fine in a Qt 4 context and the old connect syntax, this forces to users to qOverloadOf connect statements due to ambiguity. This results in hard to read code and could be optimized by more explicit signatures.
       

      The idea is not to remove qOverloadOf completely, rather to reduce the need for it in the API itself for Qt 6.

       

      Attachments

        Issue Links

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

          Activity

            People

              vitaly.fanaskov Vitaly Fanaskov
              mkalinow Maurice Kalinowski
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes