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

Make qOverloadOf unnecessary in Qt Network

XMLWordPrintable

    • All
    • Qt6_Foundation_ Sprint 1

      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

        For Gerrit Dashboard: QTBUG-80369
        # Subject Branch Project Status CR V

            tpochep Timur Pocheptsov
            tpochep Timur Pocheptsov
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: