33 #ifndef __KLEO_TQGPGMEKEYLISTJOB_H__ 34 #define __KLEO_TQGPGMEKEYLISTJOB_H__ 36 #include <kleo/keylistjob.h> 38 #include <gpgmepp/keylistresult.h> 40 #include "qgpgmejob.h" 50 class QGpgMEKeyListJob : public KeyListJob, private QGpgMEJob { 54 QGpgMEKeyListJob( GpgME::Context * context ); 58 GpgME::Error start( const TQStringList & patterns, bool secretOnly ); 61 GpgME::KeyListResult exec( const TQStringList & patterns, bool secretOnly, std::vector<GpgME::Key> & keys ); 64 void showErrorDialog( TQWidget * parent, const TQString & caption ) const; 67 void slotNextKeyEvent( GpgME::Context * context, const GpgME::Key & key ); 68 void slotOperationDoneEvent( GpgME::Context * context, const GpgME::Error & e ); 69 void slotFakeOperationDoneEvent(); 72 void doOperationDoneEvent( const GpgME::Error &) {} 73 void setup( const TQStringList &, bool ); 74 GpgME::KeyListResult attemptSyncKeyListing( std::vector<GpgME::Key> & ); 77 GpgME::KeyListResult mResult; 83 #endif // __KLEO_TQGPGMEKEYLISTJOB_H__
|