33 #ifndef __KLEO_HIERARCHICALKEYLISTJOB_H__ 34 #define __KLEO_HIERARCHICALKEYLISTJOB_H__ 36 #include <kleo/keylistjob.h> 37 #include <kleo/cryptobackend.h> 38 #include <tdemacros.h> 40 #include <gpgmepp/keylistresult.h> 42 #include <tqcstring.h> 43 #include <tqguardedptr.h> 76 bool remote= false, bool includeSigs= false, bool validating= false ); 88 GpgME::Error start( const TQStringList & patterns, bool secretOnly= false ); 90 GpgME::KeyListResult exec( const TQStringList & patterns, bool secretOnly, 91 std::vector<GpgME::Key> & keys ); 94 void slotResult( const GpgME::KeyListResult & ); 95 void slotNextKey( const GpgME::Key & key ); 100 GpgME::Error startAJob(); 103 const CryptoBackend::Protocol * const mProtocol; 105 const bool mIncludeSigs; 106 const bool mValidating; 108 std::set<TQString> mSentSet; 109 std::set<TQString> mScheduledSet; 110 std::set<TQString> mNextSet; 111 GpgME::KeyListResult mIntermediateResult; 112 TQGuardedPtr<KeyListJob> mJob; 117 #endif // __KLEO_HIERARCHICALKEYLISTJOB_H__ A convenience job that additionally fetches all available issuers.
An abstract base class for asynchronous key listers.
|