Details

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Fix Version/s: 6.2
    • Component/s: Core: Object Model
    • Labels:

      Description

      Now that we have QProperty, we need some additional functionality for interoperability with old style properties, and as representation of aliases, the way QML implements them. In particular

      • QObjectProperty wraps a Q_PROPERTY of a QObject, and provides the same API as QProperty.
      • QPropertyAlias is an alias to a QProperty. You can get and set its value and subscribe to changes like you can do with QProperty, but you cannot attach a binding. All access is immediately redirected to the actual QProperty.
      • QObjectPropertyAlias is a QPropertyAlias for a Q_PROPERTY of a QObject. It shall have the same interface as QPropertyAlias.

      QPropertyAlias shall live in qproperty.h. For QObjectProperty and QObjectPropertyAlias a new header qobjectproperty.h shall be created.

        Attachments

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

          Activity

            People

            Assignee:
            agolubev Andrei Golubev
            Reporter:
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes