00001 #ifndef MYTHUIMETADATARESULTS_H_ 00002 #define MYTHUIMETADATARESULTS_H_ 00003 00004 #include "mythcorecontext.h" 00005 #include "mythuibuttonlist.h" 00006 00007 #include "metadataimagedownload.h" 00008 #include "metadatadownload.h" 00009 #include "metadatacommon.h" 00010 00011 #include "mythmetaexp.h" 00012 00013 class META_PUBLIC MetadataResultsDialog : public MythScreenType 00014 { 00015 Q_OBJECT 00016 00017 public: 00018 MetadataResultsDialog(MythScreenStack *lparent, 00019 const MetadataLookupList results); 00020 ~MetadataResultsDialog(); 00021 00022 bool Create(); 00023 00024 signals: 00025 void haveResult(MetadataLookup*); 00026 00027 private: 00028 MetadataLookupList m_results; 00029 MythUIButtonList *m_resultsList; 00030 MetadataImageDownload *m_imageDownload; 00031 00032 private slots: 00033 void customEvent(QEvent *event); 00034 00035 void cleanCacheDir(); 00036 void sendResult(MythUIButtonListItem* item); 00037 }; 00038 00039 #endif
1.6.3