Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0
-
None
-
9ee31a6ae852eb347951e371958dd435409c9941
Description
I think there is a small mistake in the code example of grouped properties:
http://doc.qt.io/qt-5/qtqml-cppintegration-exposecppattributes.html#grouped-properties
-----------------------------------------------
Message *author() const
private:
Message *m_author;
};
------------------------------------------------
As written in the comment above this example the author property should be as type MessageAuthor ... so it should be:
-----------------------------------------------
MessageAuthor *author() const { return m_author; }
private:
MessageAuthor *m_author;
};
------------------------------------------------
Attachments
For Gerrit Dashboard: QTBUG-48009 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
124657,3 | Doc: fix the "Grouped Properties" example snippet | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |