Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84909 Use bindable QProperty in Qt QML classes
  3. QTBUG-85030

QNotifiedProperty: Allow callback to obtain old value

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P1: Critical
    • 6.0.0
    • None

    Description

      Having to store the old value manually in the class which contains QNotifiedProperty is both cumbersome and wastes memory. QNotifiedProperty should support calling a function which takes one argument for the old value.

      Whether that argument should be T* or optional<T> needs to be investigated.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes