Home GnuPG
Diffusion GPGME 619579bb1725

qt: Allow specifying an import filter when importing keys

Description

qt: Allow specifying an import filter when importing keys

* lang/qt/src/importjob.cpp (struct ImportJobPrivate): Add member
m_importFilter.
* lang/qt/src/importjob.cpp, lang/qt/src/importjob.h (class ImportJob):
Add member functions setImportFilter and importFilter.
* lang/qt/src/qgpgmeimportjob.cpp (import_qba): Add arg importFilter
and adjust the callers. Set import filter context flag.
* lang/qt/tests/t-import.cpp (ImportTest): Add member function
testImportWithImportFilter.

Details