diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-20 10:23:55 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-20 13:36:18 +0000 |
commit | fcb38d144386192d0ac0c2a4ea78d4489725e76e (patch) | |
tree | 75bc24a66256736ce254775aeeb3049a28a06178 /src/plugins | |
parent | 5479143bded49b929279b93b5b2c3d5e16994ef4 (diff) |
QmlProfiler: Make various primitive types Q_MOVABLE_TYPE
Change-Id: I08c37b33fcc2ec8c3610d52a55571878ff8bdc7d
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qmlprofiler/qmleventlocation.h | 4 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/qmleventtype.h | 4 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/qmlnote.h | 4 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h | 4 | ||||
-rw-r--r-- | src/plugins/qmlprofiler/qmltypedevent.h | 5 |
5 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmleventlocation.h b/src/plugins/qmlprofiler/qmleventlocation.h index 5eede5ddb06..86e5768d977 100644 --- a/src/plugins/qmlprofiler/qmleventlocation.h +++ b/src/plugins/qmlprofiler/qmleventlocation.h @@ -88,3 +88,7 @@ QDataStream &operator>>(QDataStream &stream, QmlEventLocation &location); QDataStream &operator<<(QDataStream &stream, const QmlEventLocation &location); } // namespace QmlProfiler + +QT_BEGIN_NAMESPACE +Q_DECLARE_TYPEINFO(QmlProfiler::QmlEventLocation, Q_MOVABLE_TYPE); +QT_END_NAMESPACE diff --git a/src/plugins/qmlprofiler/qmleventtype.h b/src/plugins/qmlprofiler/qmleventtype.h index a2e16525f86..37a701a4e3c 100644 --- a/src/plugins/qmlprofiler/qmleventtype.h +++ b/src/plugins/qmlprofiler/qmleventtype.h @@ -90,3 +90,7 @@ inline bool operator!=(const QmlEventType &type1, const QmlEventType &type2) } // namespace QmlProfiler Q_DECLARE_METATYPE(QmlProfiler::QmlEventType) + +QT_BEGIN_NAMESPACE +Q_DECLARE_TYPEINFO(QmlProfiler::QmlEventType, Q_MOVABLE_TYPE); +QT_END_NAMESPACE diff --git a/src/plugins/qmlprofiler/qmlnote.h b/src/plugins/qmlprofiler/qmlnote.h index d57af60bed5..1178ccaca67 100644 --- a/src/plugins/qmlprofiler/qmlnote.h +++ b/src/plugins/qmlprofiler/qmlnote.h @@ -69,3 +69,7 @@ QDataStream &operator<<(QDataStream &stream, const QmlNote ¬e); } // namespace QmlProfiler Q_DECLARE_METATYPE(QmlProfiler::QmlNote) + +QT_BEGIN_NAMESPACE +Q_DECLARE_TYPEINFO(QmlProfiler::QmlNote, Q_MOVABLE_TYPE); +QT_END_NAMESPACE diff --git a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h index b0fc5c89f1e..ea5036262b4 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h +++ b/src/plugins/qmlprofiler/qmlprofilerdetailsrewriter.h @@ -69,3 +69,7 @@ private: } // namespace Internal } // namespace QmlProfiler + +QT_BEGIN_NAMESPACE +Q_DECLARE_TYPEINFO(QmlProfiler::Internal::QmlProfilerDetailsRewriter::PendingEvent, Q_MOVABLE_TYPE); +QT_END_NAMESPACE diff --git a/src/plugins/qmlprofiler/qmltypedevent.h b/src/plugins/qmlprofiler/qmltypedevent.h index d836d2b7a24..5a056b3187d 100644 --- a/src/plugins/qmlprofiler/qmltypedevent.h +++ b/src/plugins/qmlprofiler/qmltypedevent.h @@ -43,3 +43,8 @@ QDataStream &operator>>(QDataStream &stream, QmlTypedEvent &event); } // namespace QmlProfiler Q_DECLARE_METATYPE(QmlProfiler::QmlTypedEvent) + +QT_BEGIN_NAMESPACE +Q_DECLARE_TYPEINFO(QmlProfiler::QmlTypedEvent, Q_MOVABLE_TYPE); +QT_END_NAMESPACE + |