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

QML should support JS property naming convention

    XMLWordPrintable

Details

    • 9605fc786482bdd208cc3bfe92f318f7c314329c

    Description

      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!")
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes