Home GnuPG
Diffusion GPGME db7d79063f57

qt: Add job to set the primary user ID of OpenPGP keys

Description

qt: Add job to set the primary user ID of OpenPGP keys

* lang/qt/src/qgpgmesetprimaryuseridjob.cpp,
lang/qt/src/qgpgmesetprimaryuseridjob.h,
lang/qt/src/setprimaryuseridjob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function setPrimaryUserIDJob.
* lang/qt/src/protocol_p.h (Protocol::setPrimaryUserIDJob): New.
* lang/qt/src/job.cpp, lang/qt/src/Makefile.am: Update accordingly.
* lang/qt/tests/t-setprimaryuserid.cpp: New.
* lang/qt/tests/Makefile.am: Add new test.

Details

Provenance
ikloeckerAuthored on Aug 9 2022, 12:19 PM
Parents
rM125867f268f2: cpp: Add support for gpgme_op_set_uid_flag
Branches
Unknown
Tags
Unknown
Tasks
T5938: gpgme++: Add support for setting the primary user ID