MythTV  master
mythuimetadataresults.h
Go to the documentation of this file.
1 #ifndef MYTHUIMETADATARESULTS_H_
2 #define MYTHUIMETADATARESULTS_H_
3 
4 #include "mythuibuttonlist.h"
5 
6 #include "metadatacommon.h"
7 #include "mythmetaexp.h"
8 
10 
12 {
13  Q_OBJECT
14 
15  public:
17  const MetadataLookupList &results);
19 
20  bool Create() override; // MythScreenType
21 
22  signals:
23  void haveResult(RefCountHandler<MetadataLookup>);
24 
25  private:
27  MythUIButtonList *m_resultsList {nullptr};
28  MetadataImageDownload *m_imageDownload {nullptr};
29 
30  private slots:
31  void customEvent(QEvent *event) override; // MythUIType
32 
33  void cleanCacheDir();
34  void sendResult(MythUIButtonListItem* item);
35 };
36 
37 #endif
unsigned int slots[4]
Definition: element.c:38
void customEvent(QEvent *event) override
Definition: mythuitype.cpp:977
virtual bool Create(void)
#define META_PUBLIC
Definition: mythmetaexp.h:9
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
MetadataLookupList m_results
Screen in which all other widgets are contained and rendered.