summaryrefslogtreecommitdiffstats
path: root/src/xml/sax/qxml_p.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-02-23 15:40:15 +0000
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-03-07 01:55:44 +0000
commit9390c44338b74373c6c076ac2df836ba471c43b0 (patch)
treea59b52b2b5dd071e199de60b2f76dcea6e321996 /src/xml/sax/qxml_p.h
parent00e6863552ab3519e8a9a9ecb6cb56bb6a024041 (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_p.h')
-rw-r--r--src/xml/sax/qxml_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xml/sax/qxml_p.h b/src/xml/sax/qxml_p.h
index 5f3785a289..98dc2aea0c 100644
--- a/src/xml/sax/qxml_p.h
+++ b/src/xml/sax/qxml_p.h
@@ -85,6 +85,8 @@ private:
Q_DUMMY_COMPARISON_OPERATOR(ExternParameterEntity)
};
+ friend class QTypeInfo<ExternParameterEntity>;
+
struct ExternEntity
{
ExternEntity() {}
@@ -95,6 +97,8 @@ private:
QString notation;
Q_DUMMY_COMPARISON_OPERATOR(ExternEntity)
};
+ friend class QTypeInfo<ExternEntity>;
+
QMap<QString,ExternParameterEntity> externParameterEntities;
QMap<QString,QString> parameterEntities;
QMap<QString,ExternEntity> externEntities;
@@ -306,6 +310,8 @@ private:
};
Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ParseState, Q_PRIMITIVE_TYPE);
Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::XmlRef, Q_MOVABLE_TYPE);
+Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ExternParameterEntity, Q_MOVABLE_TYPE);
+Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ExternEntity, Q_MOVABLE_TYPE);
QT_END_NAMESPACE