MythTV  master
lookup.h
Go to the documentation of this file.
1 #ifndef LOOKUP_H_
2 #define LOOKUP_H_
3 
4 #include <QObject>
5 #include <QList>
6 
7 #include "programinfo.h"
8 #include "metadatafactory.h"
9 
10 class LookerUpper : public QObject
11 {
12  public:
13  LookerUpper();
14  ~LookerUpper() override;
15 
16  static bool AllOK() { return MetadataFactory::VideoGrabbersFunctional(); };
17 
18  bool StillWorking();
19 
20  void HandleSingleRecording(uint chanid,
21  const QDateTime &starttime,
22  bool updaterules = false);
23  void HandleAllRecordings(bool updaterules = false);
24  void HandleAllRecordingRules(void);
25  void HandleAllArtwork(bool aggressive = false);
26 
27  static void CopyRuleInetrefsToRecordings();
28 
29  private:
30  void customEvent(QEvent *event) override; // QObject
31 
33 
34  QList<ProgramInfo*> m_busyRecList;
35  bool m_updaterules { false };
36  bool m_updateartwork { false };
37 };
38 
39 #endif //LOOKUP_H_
LookerUpper::HandleSingleRecording
void HandleSingleRecording(uint chanid, const QDateTime &starttime, bool updaterules=false)
Definition: lookup.cpp:34
LookerUpper::StillWorking
bool StillWorking()
Definition: lookup.cpp:28
LookerUpper::HandleAllRecordingRules
void HandleAllRecordingRules(void)
Definition: lookup.cpp:88
LookerUpper::customEvent
void customEvent(QEvent *event) override
Definition: lookup.cpp:228
LookerUpper::HandleAllRecordings
void HandleAllRecordings(bool updaterules=false)
Definition: lookup.cpp:54
LookerUpper
Definition: lookup.h:11
LookerUpper::m_updaterules
bool m_updaterules
Definition: lookup.h:35
programinfo.h
LookerUpper::LookerUpper
LookerUpper()
Definition: lookup.cpp:17
LookerUpper::m_updateartwork
bool m_updateartwork
Definition: lookup.h:36
LookerUpper::m_busyRecList
QList< ProgramInfo * > m_busyRecList
Definition: lookup.h:34
LookerUpper::~LookerUpper
~LookerUpper() override
Definition: lookup.cpp:22
LookerUpper::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: lookup.h:32
uint
unsigned int uint
Definition: compat.h:140
LookerUpper::AllOK
static bool AllOK()
Definition: lookup.h:16
MetadataFactory
Definition: metadatafactory.h:86
MetadataFactory::VideoGrabbersFunctional
static bool VideoGrabbersFunctional()
Definition: metadatafactory.cpp:265
LookerUpper::CopyRuleInetrefsToRecordings
static void CopyRuleInetrefsToRecordings()
Definition: lookup.cpp:195
metadatafactory.h
LookerUpper::HandleAllArtwork
void HandleAllArtwork(bool aggressive=false)
Definition: lookup.cpp:113