以下成员源于类 QQmlListProperty 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
|
QQmlListProperty (QObject * object , QList<T *> & list ) |
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Convenience constructor for making a QQmlListProperty value from an existing QList list 。 list reference must remain valid for as long as object exists. object must be provided.
This constructor synthesizes the removeLast() and replace() methods introduced in Qt 5.15, using count(), at(), clear(), and append(). This is slow. If you intend to manipulate the list beyond clearing it, you should explicitly provide these methods.