37 #ifndef __KLEO_KEYAPPROVALDIALOG_H__ 38 #define __KLEO_KEYAPPROVALDIALOG_H__ 40 #include <kleo/enum.h> 42 #include <kdialogbase.h> 43 #include <tdemacros.h> 46 #include <gpgmepp/key.h> 58 class TDE_EXPORT KeyApprovalDialog : public KDialogBase { 63 Item() : pref( UnknownPreference ) {} 64 Item( const TQString & a, const std::vector<GpgME::Key> & k, 65 EncryptionPreference p=UnknownPreference ) 66 : address( a ), keys( k ), pref( p ) {} 68 std::vector<GpgME::Key> keys; 69 EncryptionPreference pref; 72 KeyApprovalDialog( const std::vector<Item> & recipients, 73 const std::vector<GpgME::Key> & sender, 74 TQWidget * parent=0, const char * name=0, 78 std::vector<Item> items() const; 79 std::vector<GpgME::Key> senderKeys() const; 81 bool preferencesChanged() const; 84 void slotPrefsChanged(); 93 #endif // __KLEO_KEYAPPROVALDIALOG_H__
|