Home GnuPG

Alternative way to make signals private

Description

Alternative way to make signals private

By using QPrivateSignal as an extra arg to ensure users and sub-classes
can't emit them, c.f.:
https://woboq.com/blog/how-qt-signals-slots-work-part2-qt5.html

Note that this is needed to make it compile at all with the PMF signal/slot
syntax, if it's a private method we can't call it in the lambda.

Details

Provenance
Ahmad Samir <a.samirh78@gmail.com>Authored on May 9 2022, 5:21 PM
ikloeckerCommitted on May 10 2022, 12:34 PM
Parents
rKLEOPATRA208e5a0a361e: Disable word wrap for certificate dump
Branches
Unknown
Tags
Unknown
References
refs/backups/work-branch-work/ahmad/private-singals-1652179064