Commit 6aaa2aea authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Add some Q_DECLARE_METATYPE

Change-Id: If09ce20e997087ff73eb60bb16ef2e501280944d
Reviewed-by: Joerg Bornemann's avatarJoerg Bornemann <joerg.bornemann@qt.io>
parent e4b2842b
......@@ -29,6 +29,7 @@
#include <QString>
#include <QByteArray>
#include <QVarLengthArray>
#include <QMetaType>
#include <initializer_list>
#include <type_traits>
......@@ -295,6 +296,8 @@ private:
} // namespace QmlProfiler
Q_DECLARE_METATYPE(QmlProfiler::QmlEvent)
QT_BEGIN_NAMESPACE
Q_DECLARE_TYPEINFO(QmlProfiler::QmlEvent, Q_MOVABLE_TYPE);
QT_END_NAMESPACE
......@@ -27,6 +27,7 @@
#include "qmlprofilereventlocation.h"
#include "qmlprofilereventtypes.h"
#include <QString>
#include <QMetaType>
namespace QmlProfiler {
......@@ -48,3 +49,5 @@ struct QmlEventType {
};
} // namespace QmlProfiler
Q_DECLARE_METATYPE(QmlProfiler::QmlEventType)
......@@ -25,6 +25,7 @@
#pragma once
#include <QString>
#include <QMetaType>
namespace QmlProfiler {
......@@ -41,3 +42,5 @@ struct QmlNote {
};
} // namespace QmlProfiler
Q_DECLARE_METATYPE(QmlProfiler::QmlNote)
......@@ -40,3 +40,5 @@ struct QmlTypedEvent
QDataStream &operator>>(QDataStream &stream, QmlTypedEvent &event);
} // namespace QmlProfiler
Q_DECLARE_METATYPE(QmlProfiler::QmlTypedEvent)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment