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

The QWebSocket::error signal should be renamed errorOccurred

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 6.5.0 Beta1
    • 6.4
    • WebSockets
    • None
    • All
    • 3
    • 55cef3a13c (qt/qtwebsockets/dev) 55cef3a13c (qt/tqtc-qtwebsockets/dev)
    • Foundation Sprint 61, Foundation Sprint 62

    Description

      To match other classes in Qt (e.g QIODevice, QNetworkReply), the overloaded error() signal should go away and be replaced by errorOccurred(). Removal can only be done in the next major version of Qt, so until then it can only be marked as deprecated.

      Since error() is overloaded users need to use qOverload when connect()ing to the signal, which is quite ugly and inconvenient compared to when it is not needed.

      Attachments

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

        Activity

          People

            oyheskes Øystein Heskestad
            manordheim Mårten Nordheim
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes