Qt: Add static factor methods for protocol
authorAndre Heinecke <aheinecke@intevation.de>
Sun, 3 Apr 2016 10:29:14 +0000 (02:29 -0800)
committerAndre Heinecke <aheinecke@intevation.de>
Sun, 3 Apr 2016 10:29:14 +0000 (02:29 -0800)
commit0991485170ca4ef90fd566540522027d0fc59a72
treec70aa40bfa878a945e28cff24ca16bab7ef2543b
parentfaf987dd62893955251378a2a715edd2892a540c
Qt: Add static factor methods for protocol

* lang/qt/src/qgpgmebackend.cpp (QGpgME::openpgp, QGpgME::smime): New.
* lang/qt/src/qgpgmebackend.h: Declare.
* lang/qt/tests/t-keylist.cpp (KeyListTest::testSingleKeyListSync):
  Use new functions.

--
This replaces the cryptobackendfactory functionality from libkleo.
lang/qt/src/qgpgmebackend.cpp
lang/qt/src/qgpgmebackend.h
lang/qt/tests/t-keylist.cpp