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:
18  ~MetadataResultsDialog() override;
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  static void cleanCacheDir();
34  void sendResult(MythUIButtonListItem* item);
35 };
36 
37 #endif
RefCountHandler
Definition: referencecounterlist.h:17
MetadataImageDownload
Definition: metadataimagedownload.h:87
MetadataResultsDialog
Definition: mythuimetadataresults.h:11
MythScreenStack
Definition: mythscreenstack.h:15
MythScreenType::Create
virtual bool Create(void)
Definition: mythscreentype.cpp:282
MetadataResultsDialog::m_results
MetadataLookupList m_results
Definition: mythuimetadataresults.h:26
MythUIType::customEvent
void customEvent(QEvent *event) override
Definition: mythuitype.cpp:978
slots
unsigned int slots[4]
Definition: element.cpp:38
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
mythmetaexp.h
mythuibuttonlist.h
hardwareprofile.os_detect.results
results
Definition: os_detect.py:296
MythUIButtonListItem
Definition: mythuibuttonlist.h:27
RefCountedList< MetadataLookup >
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:143
META_PUBLIC
#define META_PUBLIC
Definition: mythmetaexp.h:9
metadatacommon.h