diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-02-23 15:40:15 +0000 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2017-03-07 01:55:44 +0000 |
commit | 9390c44338b74373c6c076ac2df836ba471c43b0 (patch) | |
tree | a59b52b2b5dd071e199de60b2f76dcea6e321996 /src/xml/sax/qxml.h | |
parent | 00e6863552ab3519e8a9a9ecb6cb56bb6a024041 (diff) |
QtXml: add some missing Q_DECLARE_TYPEINFO
Change-Id: I4b58aad1c337fe5fdfb70eb517a66b15a34dffc4
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/xml/sax/qxml.h')
-rw-r--r-- | src/xml/sax/qxml.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xml/sax/qxml.h b/src/xml/sax/qxml.h index 49c8184d4b..77a5a78650 100644 --- a/src/xml/sax/qxml.h +++ b/src/xml/sax/qxml.h @@ -156,11 +156,13 @@ private: struct Attribute { QString qname, uri, localname, value; }; + friend class QTypeInfo<Attribute>; typedef QList<Attribute> AttributeList; AttributeList attList; QXmlAttributesPrivate *d; }; +Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) // |