00001 #include <QObject> 00002 00003 #include "mythuibuttonlist.h" 00004 #include "metadatacommon.h" 00005 #include "metadataimagedownload.h" 00006 #include "mythcorecontext.h" 00007 00008 #include "mythmetaexp.h" 00009 00010 class META_PUBLIC ImageSearchResultsDialog : public MythScreenType 00011 { 00012 Q_OBJECT 00013 00014 public: 00015 ImageSearchResultsDialog(MythScreenStack *lparent, 00016 const ArtworkList list, const VideoArtworkType type); 00017 00018 ~ImageSearchResultsDialog(); 00019 00020 bool Create(); 00021 void cleanCacheDir(); 00022 void customEvent(QEvent *event); 00023 00024 signals: 00025 void haveResult(ArtworkInfo, VideoArtworkType); 00026 00027 private: 00028 ArtworkList m_list; 00029 VideoArtworkType m_type; 00030 MythUIButtonList *m_resultsList; 00031 MetadataImageDownload *m_imageDownload; 00032 00033 private slots: 00034 void sendResult(MythUIButtonListItem* item); 00035 }; 00036
1.6.3