diff options
author | Antti Määttä <antti.maatta@qt.io> | 2023-01-27 08:14:01 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2023-02-10 12:39:48 +0200 |
commit | 63b164aa2f9ae2b9c15133f290013006d4ffc4f8 (patch) | |
tree | f7a5dcfac20c3d8c4df6845d6393de1f5fa98472 /src/widgets/kernel | |
parent | 4d359e2bec96507a1bc698525f4b5eda57b4a48f (diff) |
Trace: Convert qtwidgets module to use tracepointgen tool
Pick-to: 6.5
Change-Id: Iaa993387ecbaeab66c1bd226a85c9ab6d876b157
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qapplication.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index fd71cdb0aa..0317884b24 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -100,6 +100,10 @@ QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals; +Q_TRACE_METADATA(qtwidgets, "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;"); +Q_TRACE_POINT(qtwidgets, QApplication_notify_entry, QObject *receiver, QEvent *event, QEvent::Type type); +Q_TRACE_POINT(qtwidgets, QApplication_notify_exit, bool consumed, bool filtered); + // Helper macro for static functions to check on the existence of the application class. #define CHECK_QAPP_INSTANCE(...) \ if (Q_LIKELY(QCoreApplication::instance())) { \ |