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

Typo in "Implementing Attached Objects: An Example"

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.13.0
    • Fix Version/s: 5.12.5, 5.13.1, 5.14.0 Alpha
    • Component/s: Documentation
    • Labels:
      None
    • Commits:
      1bfa31849d3a23bfdc3b60aec7f645de2e1f81d5 (qt/qtdeclarative/5.12)

      Description

      The example on the "Defining QML-Specific Types and Attributes" contains two typos:

      456c456
      < Q_PROPERTY(bool expired READ expired WRITE expired NOTIFY expiredChanged)

      > Q_PROPERTY(bool expired READ expired WRITE setExpired NOTIFY expiredChanged)
      478c477
      < static MessageBoard *qmlAttachedProperties(QObject *object)

      > static MessageBoardAttachedType *qmlAttachedProperties(QObject *object)

        Attachments

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

          Activity

            People

            Assignee:
            paulwicking Paul Wicking
            Reporter:
            koen.poppe koen.poppe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes