Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
5
-
fed05145bc (qt/qtbase/6.4) fed05145bc (qt/tqtc-qtbase/6.4)
-
Team Two Foundation Sprint 51, Team B Foundation Sprint 59
Description
We have now had several requests for inlining previously-exported
member functions, but no standard mechanism to effect it.
As QT_REMOVED_SINCE has shown, there is great value in having such a
standard mechanism, so here is one.
Develop private API (= macros) to inline a previously exported (member) function,
by simply
- marking the declaration with QT_MODULE_INLINE_SINCE
- moving the definition into the header file (outside the class),
- wrapping it in QT_MODULE_INLINED_SINCE, and
- #include'ing the header into the module's removed_api.cpp
Attachments
Issue Links
- split to
-
QTBUG-104131 Make QT_INLINE_SINCE(maj, min) remove the out-of-line fall-back when deprecation point passes past (maj, min)
- Closed