Hide qt_check_for_QGADGET_macro() from autocompletion
ClosedPublic

Authored by dvratil on Jun 29 2017, 2:28 PM.

Details

Summary

Hide qt_check_for_QGADGET_macro() generated by Q_GADGET macro the same way we hide qt_metacall() and similar methods produced by the Q_OBJECT macro.

Q_GADGET also defines typedef void QtGadgetHelper, but that might actually be useful to application developers to detect when dealing with a
gadgets at compile time so I did not hide it.

Test Plan

qt_check_for_QGADGET_macro() no longer appears in autocompletion when Q_GADGET macro is present in a class.

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Jun 29 2017, 2:28 PM
brauch accepted this revision.Jun 29 2017, 4:22 PM
brauch added a subscriber: brauch.

LGTM, thanks!

This revision is now accepted and ready to land.Jun 29 2017, 4:22 PM
This revision was automatically updated to reflect the committed changes.