Go to the documentation of this file. 1 #ifndef PROGRAMRECPROIRITY_H_
2 #define PROGRAMRECPROIRITY_H_
35 {
if (
this != &other)
clone(other);
return *
this; }
37 {
if (
this != &other)
clone(other);
return *
this; }
39 {
if (
this != &other)
clone(other);
return *
this; }
41 bool ignore_non_serialized_data =
false);
43 bool ignore_non_serialized_data =
false)
override;
45 bool ignore_non_serialized_data =
false)
override;
47 void clear(
void)
override;
50 bool showrerecord =
false,
52 uint date_format = 0)
const override;
71 bool Create(
void)
override;
92 void Load(
void)
override;
93 void Init(
void)
override;
ProgramRecPriorityInfo()=default
MythUIText * m_recPriorityBText
MythUIText * m_chanNumText
MythUIText * m_finalPriorityText
void clear(void) override
bool Create(void) override
void updateInfo(MythUIButtonListItem *item)
ProgramRecPriorityInfo * m_currentItem
ProgramInfo * GetCurrentProgram(void) const override
Holds information on a TV Program one might wish to record.
ProgramRecPriorityInfo & operator=(const ProgramInfo &other)
void saveRecPriority(void)
MythUIText * m_recProfileText
Internal representation of a recording rule, mirrors the record table.
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
void changeRecPriority(int howMuch)
MythUIText * m_recPriorityText
MythUIText * m_lastRecordedTimeText
~ProgramRecPriority() override=default
QHash< QString, QString > InfoMap
MythUIText * m_lastRecordedText
void newTemplate(QString category)
ProgramRecPriority(MythScreenStack *parent, const QString &name)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Q_DECLARE_METATYPE(std::chrono::seconds)
ProgramRecPriorityInfo & operator=(const ProgramRecPriorityInfo &other)
QMap< int, int > m_listMatch
QMap< int, int > m_origRecPriorityData
MythUIText * m_chanNameText
void ToMap(InfoMap &progMap, bool showrerecord=false, uint star_range=10, uint date_format=0) const override
Converts ProgramInfo into QString QHash containing each field in ProgramInfo converted into localized...
QMap< int, int > m_recMatch
QMap< int, ProgramRecPriorityInfo > m_programData
MythUIText * m_callSignText
void customEvent(QEvent *event) override
MythUIText * m_schedInfoText
MythUIButtonList * m_programList
std::vector< ProgramRecPriorityInfo * > m_sortedProgram
void RemoveItemFromList(MythUIButtonListItem *item)
void scheduleChanged(int recid)
Holds information on recordings and videos.
All purpose text widget, displays a text string.
void SortList(ProgramRecPriorityInfo *newCurrentItem=nullptr)
ProgramRecPriorityInfo & operator=(const RecordingInfo &other)
QMap< int, int > m_conMatch
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
void edit(MythUIButtonListItem *item) const
MythUIText * m_lastRecordedDateText
virtual void clone(const ProgramRecPriorityInfo &other, bool ignore_non_serialized_data=false)
This widget is used for grouping other widgets for display when a particular named state is called....
QMap< int, int > m_nowMatch