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

Make qOverloadOf unnecessary in Qt Network

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Sprint:
      Qt6_Foundation_ Sprint 1

      Description

      In case of QtNetwork the problem mostly occurs in error handling: a signal has a very generic name 'error', and then the getter (which returns the error that also was reported by the signal) has the same name. The safest approach is to rename the getter. Changing the signal's name would silently break the code that still would compile and later fail to report errors at run-time. For each class modified we'd have to update tests, documentation and examples. Classes in questions are:

      • QLocalSocket
      • QAbstractSocket
      • QNetworkReply
      • QSslSocket

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              tpochep Timur Pocheptsov
              PM Owner:
              Maurice Kalinowski
              RnD Owner:
              Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: