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

Make on*Changed signals a QML feature, not a convention

    XMLWordPrintable

Details

    • a2a8cea2835ef24104fe784b6ce0f508cc5637c0, d654f87319408e3d9754fa5a8ad376c3eaef4489

    Description

      Currently most of the change notifiers for properties are named <Property Name>Changed. From QML this enables the syntax "onPropertyChanged: print("Hello!")". This syntax is convenient enough that it should be provided by QML, even if the changed signal does not follow the naming convention.

      Attachments

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

        Activity

          People

            bealam Bea Lam (closed Nokia identity) (Inactive)
            aakenned Aaron Kennedy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes