diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-02-29 14:18:04 +0000 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-03-05 15:14:51 +0000 |
commit | e06c67d448a6b4684d9787e9c18ec12f884b7063 (patch) | |
tree | 7a6f73687a75de0caf36c741a8a68033cee7cffe /src/widgets | |
parent | 18620ef85fa0a5c3b3ad0c8225fb7c96270c402f (diff) |
Revert "Fix export of QDeferredDeleteEvent, should be Q_CORE_EXPORT"
This reverts commit bc3b18764aabf95a50a65e090863c54b6ac57e3e.
Reason for revert: QDeferredDeleteEvent changed the size in 6.7. It is
more important to protect the casual user that relied on the mention of
the otherwise undocumented class in the QEvent::Type::DeferredDelete
documentation than to be convenient for one tool, developed by experts
who know how to replace their dynamic_cast with a type() check and a
static_cast and/or extract information from an unexported class.
In fact, not even the autotest-export is needed, as there are no
mentions of the class outside of comments outside QtCore.
Found in API-review.
[ChangeLog][QtCore][QDeferredDeleteEvent] Made this undocumented class
private and unexported. You will still be able to see the definition in
qcoreevent_p.h, but you won't be able to create objects of the class
anymore.
Change-Id: I8a47c69d356a0bef260e7987bc4eab96430e8072
Pick-to: 6.7
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions