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

QHostInfo::lookupHost alternative with modern connect syntax

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.9
    • Component/s: Network
    • Labels:
      None
    • Environment:

      Any

    • Commits:
      21f27c9a4d0f2ab0976c144f631c9171c899014b

      Description

      QHostInfo::lookupHost does only work with the "old" way of connecting to slots.

      It would be nice to also have more overloads of this function with the possibility to use the new connection-syntax as well as to be able to use lambdas, to enable compile-time checking on the connection. Similar to the QTimer::singleShot-functions introduced in 5.4.

        Attachments

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

          Activity

            People

            Assignee:
            jefernan Jesus Fernandez
            Reporter:
            pyrrhula Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes