QmlProfiler: Provide stream operators for QmlEventType and QmlNote

This is the foundation for a new file format.

Change-Id: Ib5ae5bfe8b45d9dc654b443ab700186993c3bfc9
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-05-04 18:55:44 +02:00
parent 943fc80f51
commit ca5d9659e1
8 changed files with 147 additions and 2 deletions

View File

@@ -41,6 +41,9 @@ struct QmlNote {
QString text;
};
QDataStream &operator>>(QDataStream &stream, QmlNote &note);
QDataStream &operator<<(QDataStream &stream, const QmlNote &note);
} // namespace QmlProfiler
Q_DECLARE_METATYPE(QmlProfiler::QmlNote)