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

Add a Timeout error API to the serialport class

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 5.1.0
    • Serial Port
    • None

    Description

      Hmm, we will have slight issues with the Timeout error I am now working on because unfortunately we do not seem to have defined the "UnknownError" as -1 even though QFileDevice also has "UnspecifiedError" in the middle of the list.

      Perhaps, we can change the documentation order compared to the header file content to have the UnknownError last in the list. It will be more convenient for the end users, but less for us, developers. I think it is still worth it, just like when the code snippets are mixed. This is unfortunate, but that is how it is anyway.

      See the following links for details:

      http://doc-snapshot.qt-project.org/qt5-
      stable/qtcore/qprocess.html#ProcessError-enum

      http://qt-project.org/doc/qt-5.0/qtcore/qfiledevice.html#FileError-enum

      http://doc-snapshot.qt-project.org/qt5-stable/qtnetwork/qabstractsocket.html#SocketError-enum

      Attachments

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

        Activity

          People

            lpapp Laszlo Papp
            lpapp Laszlo Papp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes