Home GnuPG
Diffusion GPGME 12006a782900

qt: Allow retrieving the default value of a config entry

Description

qt: Allow retrieving the default value of a config entry

* lang/qt/src/cryptoconfig.cpp, lang/qt/src/cryptoconfig.h
(CryptoConfigEntry::defaultValue): New.
* lang/qt/src/qgpgmenewcryptoconfig.cpp,
lang/qt/src/qgpgmenewcryptoconfig.h
(QGpgMENewCryptoConfigEntry::defaultValue): New.
* lang/qt/tests/t-config.cpp (CryptoConfigTest::testDefault()):
Add test of CryptoConfigEntry::defaultValue(). Port away from deprecated
CryptoConfig::entry overload.

Details

Provenance
ikloeckerAuthored on Jun 29 2021, 12:12 PM
Parents
rMd8638ed0aa5b: Update NEWS.
Branches
Unknown
Tags
Unknown
Tasks
T5515: qgpgme: Allow retrieving the default value of a config entry