33 #ifndef __HIERARCHYANALYSER_H__ 34 #define __HIERARCHYANALYSER_H__ 36 #include <gpgmepp/key.h> 39 #include <tqcstring.h> 44 class HierarchyAnalyser : public TQObject { 48 HierarchyAnalyser( TQObject * parent=0, const char * name=0 ); 51 const std::vector<GpgME::Key> & rootItems() const { 52 return subjectsForIssuer( 0 ); 54 const std::vector<GpgME::Key> & subjectsForIssuer( const char * issuer_fpr ) const; 55 std::vector<GpgME::Key> subjectsForIssuerRecursive( const char * issuer_fpr ) const; 57 void clear() { mSubjectsByIssuer.clear(); } 60 void slotNextKey( const GpgME::Key & key ); 63 std::map< TQCString, std::vector<GpgME::Key> > mSubjectsByIssuer; 67 #endif // __HIERARCHYANALYSER_H__
|