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

QtPositioning: fix API review comments

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta2
    • None
    • Positioning
    • None
    • 13
    • Qt6_Foundation_Sprint 38

    Description

      During the API review we've found out that we're missing some important things:

      • convert all comparison operators to hidden friends
      • convert all streaming operators to hidden friends
      • use constexpr and noexcept when possible
      • consider adding qHash overloads for value types
      • consider adding move constructors and swap() to value types
      • consider using Q_DECLARE_SHARED instead of Q_DECLARE_TYPEINFO()
      • add virtual setBackendProperty()/backendProperty() to QGeoAreaMonitorSource

      Some of the changes are not BC-breaking, so they can be postponed until later releases. But we should at least check if they make sense.

      Attachments

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

        Activity

          People

            ivan.solovev Ivan Solovev
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: