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

QDeclarativePropertyMap should have a virtual function to override write operations

    XMLWordPrintable

Details

    Description

      It should be possible to create subclasses of QDeclarativePropertyMap so that write behaviour can be overridden.

      The specific use case is to allow the assignment of single object to be placed in a list (with only one element)
      e.g
      foo.bar = obj results in foo.bar being the same as [obj]
      but
      foo.bar = [obj1,obj2,obj3] results in foo.bar being [obj1,obj2,obj3]

      Attachments

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

        Activity

          People

            mvogt Matthew Vogt (closed Nokia identity) (Inactive)
            abcd abcd (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes