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

QML NetworkInfo API: reduce usage of monitor properties

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.0.0 Beta 1
    • None

    Description

      Change affects QML NetworkInfo API.

      Currently the QML-type NetworkInfo requires to set monitor properties to true to enable events from the backend and to enabled correspondent signal-handlers.

      Controlling monitoring makes sense for events that occur frequently and can
      increase cpu usage. This is not the case for all signals of NetworkInfo. To
      simplify and ease the NetworkInfo QML API the usage of monitor-properties should be reduced.

      Proposed monitor properties to be removed:
      monitorNetworkInterfaceCount
      monitorCurrentCellDataTechnology
      monitorCellId
      monitorCurrentMobileCountryCode
      monitorCurrentMobileNetworkCode
      monitorLocationAreaCode
      Correspondent signal-handlers should be enabled by default.

      Proposed monitor properties to be still kept since this information is rather dynamic and can change frequently:
      monitorNetworkSignalStrength
      monitorNetworkStatus
      monitorNetworkName
      monitorCurrentNetworkMode

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            steff8tg Steffen Hahn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes