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

QML should support JS property naming convention

XMLWordPrintable

    • 9605fc786482bdd208cc3bfe92f318f7c314329c

      If a property is defined with underscore prefix as per js convention,
      then QML should generate a matching Changed slot.

      I.e. this

      property bool __myPrivateProperty
      

      should allow:

      __onMyPrivatePropertyChanged: print("it changed!")
      

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

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            mathiasm Mathias Malmqvist
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes