forked from qt-creator/qt-creator
QmlProfiler: Make various primitive types Q_MOVABLE_TYPE
Change-Id: I08c37b33fcc2ec8c3610d52a55571878ff8bdc7d Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
This commit is contained in:
@@ -88,3 +88,7 @@ QDataStream &operator>>(QDataStream &stream, QmlEventLocation &location);
|
|||||||
QDataStream &operator<<(QDataStream &stream, const QmlEventLocation &location);
|
QDataStream &operator<<(QDataStream &stream, const QmlEventLocation &location);
|
||||||
|
|
||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
Q_DECLARE_TYPEINFO(QmlProfiler::QmlEventLocation, Q_MOVABLE_TYPE);
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -90,3 +90,7 @@ inline bool operator!=(const QmlEventType &type1, const QmlEventType &type2)
|
|||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QmlProfiler::QmlEventType)
|
Q_DECLARE_METATYPE(QmlProfiler::QmlEventType)
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
Q_DECLARE_TYPEINFO(QmlProfiler::QmlEventType, Q_MOVABLE_TYPE);
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -69,3 +69,7 @@ QDataStream &operator<<(QDataStream &stream, const QmlNote ¬e);
|
|||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QmlProfiler::QmlNote)
|
Q_DECLARE_METATYPE(QmlProfiler::QmlNote)
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
Q_DECLARE_TYPEINFO(QmlProfiler::QmlNote, Q_MOVABLE_TYPE);
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -69,3 +69,7 @@ private:
|
|||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
Q_DECLARE_TYPEINFO(QmlProfiler::Internal::QmlProfilerDetailsRewriter::PendingEvent, Q_MOVABLE_TYPE);
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -43,3 +43,8 @@ QDataStream &operator>>(QDataStream &stream, QmlTypedEvent &event);
|
|||||||
} // namespace QmlProfiler
|
} // namespace QmlProfiler
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QmlProfiler::QmlTypedEvent)
|
Q_DECLARE_METATYPE(QmlProfiler::QmlTypedEvent)
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
Q_DECLARE_TYPEINFO(QmlProfiler::QmlTypedEvent, Q_MOVABLE_TYPE);
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user