MythTV
master
|
Internal representation of a recording rule, mirrors the record table. More...
#include <libmythtv/recordingrule.h>
Public Member Functions | |
RecordingRule () | |
~RecordingRule ()=default | |
void | ensureSortFields (void) |
Ensure that the sortTitle and sortSubtitle fields are set. More... | |
bool | Load (bool asTemplate=false) |
Load a single rule from the recorded table. More... | |
bool | LoadByProgram (const ProgramInfo *proginfo) |
bool | LoadBySearch (RecSearchType lsearch, const QString &textname, const QString &forwhat, QString joininfo="", ProgramInfo *pginfo=nullptr) |
Load a recording rule based on search parameters. More... | |
bool | LoadTemplate (const QString &title, const QString &category="Default", const QString &categoryType="Default") |
bool | ModifyPowerSearchByID (int rid, const QString &textname, QString forwhat, QString joininfo="") |
bool | MakeOverride (void) |
bool | MakeTemplate (QString category) |
bool | Save (bool sendSig=true) |
bool | Delete (bool sendSig=true) |
bool | IsLoaded () const |
void | UseTempTable (bool usetemp, const QString &table="record_tmp") |
void | ToMap (InfoMap &infoMap, uint date_format=0) const |
AutoExpireType | GetAutoExpire (void) const |
bool | IsValid (QString &msg) const |
Static Public Member Functions | |
static unsigned | GetDefaultFilter (void) |
static QString | SearchTypeToString (RecSearchType searchType) |
static QStringList | GetTemplateNames (void) |
Static Public Attributes | |
static const int | kNumFilters = 16 |
Private Member Functions | |
Q_DECLARE_TR_FUNCTIONS (RecordingRule) | |
void | AssignProgramInfo () |
Private Attributes | |
QString | m_template |
const ProgramInfo * | m_progInfo {nullptr} |
bool | m_loaded {false} |
Internal representation of a recording rule, mirrors the record table.
Please keep clean and tidy, don't let this class become a dumping ground for single use utility functions, UI related stuff or anything which has a tenuous link to recording rules. See RecordingInfo or ProgramInfo instead.
Definition at line 28 of file recordingrule.h.
RecordingRule::RecordingRule | ( | ) |
Definition at line 27 of file recordingrule.cpp.
|
default |
|
private |
void RecordingRule::ensureSortFields | ( | void | ) |
Ensure that the sortTitle and sortSubtitle fields are set.
Definition at line 43 of file recordingrule.cpp.
Referenced by AssignProgramInfo(), Load(), LoadByProgram(), LoadBySearch(), ModifyPowerSearchByID(), and RecordingRule().
Load a single rule from the recorded table.
Which rule is specified in the member variable m_recordID.
Definition at line 56 of file recordingrule.cpp.
Referenced by ScheduleEditor::Create(), Dvr::DisableRecordSchedule(), V2Dvr::DisableRecordSchedule(), Dvr::EnableRecordSchedule(), V2Dvr::EnableRecordSchedule(), Dvr::GetRecordSchedule(), V2Dvr::GetRecordSchedule(), LoadByProgram(), LoadBySearch(), LoadTemplate(), ModifyPowerSearchByID(), ProgramRecPriority::scheduleChanged(), Dvr::UpdateRecordSchedule(), and V2Dvr::UpdateRecordSchedule().
bool RecordingRule::LoadByProgram | ( | const ProgramInfo * | proginfo | ) |
Definition at line 168 of file recordingrule.cpp.
Referenced by ScheduleEditor::Create(), RecordingInfo::GetAutoRunJobs(), RecordingInfo::GetProgramRecordingProfile(), RecordingInfo::GetProgramRecordingStatus(), Dvr::GetRecordSchedule(), V2Dvr::GetRecordSchedule(), RecordingInfo::InsertRecording(), and ProgDetails::loadPage().
bool RecordingRule::LoadBySearch | ( | RecSearchType | lsearch, |
const QString & | textname, | ||
const QString & | forwhat, | ||
QString | joininfo = "" , |
||
ProgramInfo * | pginfo = nullptr |
||
) |
Load a recording rule based on search parameters.
lsearch | The type of search. |
textname | Unused. This is the raw text from a power search box, or the title from a custom search box. |
forwhat | Sql describing the program search. I.E. Somthing like "program.title LIKE '%title%'". |
joininfo | Sql used to join additional tables into the search. It is inserted into a query after the FROM clause and before the WHERE clause. For an example, see the text inserted when matching on a genre. |
pginfo | A pointer to an existing ProgramInfo structure. |
Definition at line 216 of file recordingrule.cpp.
bool RecordingRule::LoadTemplate | ( | const QString & | title, |
const QString & | category = "Default" , |
||
const QString & | categoryType = "Default" |
||
) |
Definition at line 276 of file recordingrule.cpp.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), Dvr::GetRecordSchedule(), V2Dvr::GetRecordSchedule(), TV::InitFromDB(), LoadByProgram(), LoadBySearch(), ScheduleEditor::LoadTemplate(), MakeTemplate(), and PlaybackBox::setRecGroup().
bool RecordingRule::ModifyPowerSearchByID | ( | int | rid, |
const QString & | textname, | ||
QString | forwhat, | ||
QString | joininfo = "" |
||
) |
Definition at line 347 of file recordingrule.cpp.
bool RecordingRule::MakeOverride | ( | void | ) |
Definition at line 368 of file recordingrule.cpp.
Referenced by RecordingInfo::ApplyRecordStateChange(), RecordingExtender::extendRecording(), Dvr::GetRecordSchedule(), and V2Dvr::GetRecordSchedule().
bool RecordingRule::MakeTemplate | ( | QString | category | ) |
Definition at line 319 of file recordingrule.cpp.
Referenced by doUpgradeTVDatabaseSchema().
Definition at line 390 of file recordingrule.cpp.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), RecordingInfo::ApplyRecordRecPriorityChange(), RecordingInfo::ApplyRecordStateChange(), Dvr::DisableRecordSchedule(), V2Dvr::DisableRecordSchedule(), doUpgradeTVDatabaseSchema(), Dvr::EnableRecordSchedule(), V2Dvr::EnableRecordSchedule(), RecordingExtender::extendRecording(), TVRec::NotifySchedulerOfRecording(), ScheduleEditor::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and UseTempTable().
Definition at line 509 of file recordingrule.cpp.
Referenced by RecordingInfo::ApplyRecordStateChange(), ScheduleEditor::DeleteRule(), Dvr::RemoveRecordSchedule(), and V2Dvr::RemoveRecordSchedule().
|
inline |
Definition at line 55 of file recordingrule.h.
Referenced by ScheduleEditor::Create(), Dvr::DisableRecordSchedule(), V2Dvr::DisableRecordSchedule(), Dvr::EnableRecordSchedule(), V2Dvr::EnableRecordSchedule(), Dvr::UpdateRecordSchedule(), and V2Dvr::UpdateRecordSchedule().
void RecordingRule::UseTempTable | ( | bool | usetemp, |
const QString & | table = "record_tmp" |
||
) |
Definition at line 677 of file recordingrule.cpp.
Referenced by ScheduleEditor::ShowPreview().
|
static |
Definition at line 787 of file recordingrule.cpp.
Referenced by doUpgradeTVDatabaseSchema().
Definition at line 552 of file recordingrule.cpp.
Referenced by ScheduleEditor::Load(), and SchedEditChild::SetTextFromMaps().
|
inline |
Definition at line 61 of file recordingrule.h.
Referenced by TVRec::TuningRestartRecorder().
bool RecordingRule::IsValid | ( | QString & | msg | ) | const |
Definition at line 859 of file recordingrule.cpp.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), Dvr::UpdateRecordSchedule(), and V2Dvr::UpdateRecordSchedule().
|
static |
Definition at line 806 of file recordingrule.cpp.
Referenced by LoadBySearch(), and ToMap().
|
static |
Definition at line 835 of file recordingrule.cpp.
Referenced by ScheduleEditor::showTemplateMenu().
|
private |
Definition at line 737 of file recordingrule.cpp.
Referenced by LoadByProgram(), and MakeOverride().
|
static |
Definition at line 33 of file recordingrule.h.
Referenced by GetDefaultFilter(), IsValid(), and Scheduler::UpdateMatches().
int RecordingRule::m_recordID {-1} |
Unique Recording Rule ID.
Definition at line 70 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), ScheduleEditor::Create(), ScheduleEditor::customEvent(), Delete(), Dvr::DisableRecordSchedule(), V2Dvr::DisableRecordSchedule(), Dvr::EnableRecordSchedule(), V2Dvr::EnableRecordSchedule(), RecordingExtender::extendRecording(), FillRecRuleInfo(), RecordingInfo::getRecordID(), Dvr::GetRecordSchedule(), V2Dvr::GetRecordSchedule(), Load(), LoadByProgram(), LoadBySearch(), LoadTemplate(), MakeOverride(), MakeTemplate(), ModifyPowerSearchByID(), Dvr::RemoveRecordSchedule(), V2Dvr::RemoveRecordSchedule(), RecordingExtender::ruleIdAsString(), Save(), ScheduleEditor::Save(), ProgramRecPriority::scheduleChanged(), ScheduleEditor::ScheduleEditor(), ScheduleEditor::showUpcomingByRule(), ScheduleEditor::showUpcomingByTitle(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), UseTempTable(), and V2FillRecRuleInfo().
int RecordingRule::m_parentRecID {0} |
Definition at line 71 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), Load(), MakeOverride(), RecordingExtender::ruleIdAsString(), Save(), and V2FillRecRuleInfo().
Recording rule is enabled?
Definition at line 74 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), Dvr::DisableRecordSchedule(), V2Dvr::DisableRecordSchedule(), Dvr::EnableRecordSchedule(), V2Dvr::EnableRecordSchedule(), FillRecRuleInfo(), IsValid(), SchedOptMixin::Load(), Load(), MakeOverride(), SchedOptMixin::Save(), Save(), ProgramRecPriority::scheduleChanged(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_title |
Definition at line 77 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), MetadataOptions::CreateLookup(), ScheduleEditor::customEvent(), Delete(), ensureSortFields(), FillRecRuleInfo(), IsValid(), Load(), LoadBySearch(), ProgDetails::loadPage(), MetadataFactory::Lookup(), MakeTemplate(), ModifyPowerSearchByID(), MetadataOptions::OnImageSearchListSelection(), Save(), ProgramRecPriority::scheduleChanged(), ScheduleEditor::ShowPreview(), ScheduleEditor::showUpcomingByTitle(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_sortTitle |
Definition at line 78 of file recordingrule.h.
Referenced by AssignProgramInfo(), ensureSortFields(), LoadBySearch(), MakeTemplate(), ModifyPowerSearchByID(), ProgramRecPriority::scheduleChanged(), and ToMap().
QString RecordingRule::m_subtitle |
Definition at line 79 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), MetadataOptions::CreateLookup(), ensureSortFields(), RecordingExtender::extendRecording(), FillRecRuleInfo(), GuessLookupType(), IsValid(), Load(), LoadBySearch(), MetadataFactory::Lookup(), ModifyPowerSearchByID(), MetadataOptions::OnImageSearchListSelection(), Save(), ProgramRecPriority::scheduleChanged(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_sortSubtitle |
Definition at line 80 of file recordingrule.h.
Referenced by AssignProgramInfo(), ensureSortFields(), LoadBySearch(), ModifyPowerSearchByID(), ProgramRecPriority::scheduleChanged(), and ToMap().
QString RecordingRule::m_description |
Definition at line 81 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), IsValid(), Load(), LoadBySearch(), ProgDetails::loadPage(), ModifyPowerSearchByID(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_category |
Definition at line 82 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), Load(), ScheduleEditor::Load(), MakeTemplate(), Save(), ProgramRecPriority::scheduleChanged(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_seriesid |
Definition at line 84 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), MetadataOptions::customEvent(), FillRecRuleInfo(), Load(), Save(), ScheduleEditor::showUpcomingByTitle(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_programid |
Definition at line 85 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), Load(), Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_inetref |
Definition at line 87 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), MetadataOptions::ClearInetref(), MetadataOptions::Create(), FillRecRuleInfo(), GuessLookupType(), Load(), MetadataFactory::Lookup(), MetadataOptions::MetadataOptions(), Save(), MetadataOptions::Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QDate RecordingRule::m_startdate |
Definition at line 89 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), IsValid(), Load(), RecordingRule(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QDate RecordingRule::m_enddate |
Definition at line 90 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), RecordingExtender::extendRecording(), FillRecRuleInfo(), IsValid(), Load(), RecordingRule(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QTime RecordingRule::m_starttime |
Definition at line 91 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), IsValid(), Load(), RecordingRule(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QTime RecordingRule::m_endtime |
Definition at line 92 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), RecordingExtender::extendRecording(), FillRecRuleInfo(), IsValid(), Load(), RecordingRule(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
uint RecordingRule::m_season {0} |
Definition at line 94 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), MetadataOptions::Create(), FillRecRuleInfo(), GuessLookupType(), Load(), MetadataFactory::Lookup(), MetadataOptions::MetadataOptions(), Save(), MetadataOptions::Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
uint RecordingRule::m_episode {0} |
Definition at line 95 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), MetadataOptions::Create(), FillRecRuleInfo(), GuessLookupType(), Load(), MetadataFactory::Lookup(), Save(), MetadataOptions::Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_station |
Definition at line 98 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), IsValid(), Load(), ScheduleEditor::Load(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_channelid {0} |
callsign?
Definition at line 99 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), IsValid(), Load(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QTime RecordingRule::m_findtime |
Time for timeslot rules.
Definition at line 101 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), IsValid(), Load(), LoadBySearch(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_findid |
Definition at line 102 of file recordingrule.h.
Referenced by AssignProgramInfo(), Load(), LoadBySearch(), and Save().
int RecordingRule::m_findday {0} |
Day of the week for once per week etc.
Definition at line 104 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), AssignProgramInfo(), FillRecRuleInfo(), Load(), LoadBySearch(), Save(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_recPriority {0} |
Definition at line 107 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), RecordingInfo::ApplyRecordRecPriorityChange(), FillRecRuleInfo(), RecordingInfo::InsertProgram(), SchedOptMixin::Load(), Load(), SchedOptMixin::Save(), Save(), ProgramRecPriority::scheduleChanged(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_prefInput {0} |
Definition at line 108 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), SchedOptMixin::Load(), Load(), SchedOptMixin::Save(), Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_startOffset {0} |
Definition at line 109 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), SchedOptMixin::Load(), Load(), SchedOptMixin::Save(), Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_endOffset {0} |
Definition at line 110 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), RecordingExtender::extendRecording(), FillRecRuleInfo(), SchedOptMixin::Load(), Load(), TVRec::NotifySchedulerOfRecording(), SchedOptMixin::Save(), Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
RecordingType RecordingRule::m_type {kNotRecording} |
Definition at line 111 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), RecordingInfo::ApplyRecordStateChange(), doUpgradeTVDatabaseSchema(), RecordingExtender::extendRecording(), FillRecRuleInfo(), RecordingInfo::GetProgramRecordingStatus(), Dvr::GetRecordSchedule(), V2Dvr::GetRecordSchedule(), GuessLookupType(), IsValid(), SchedOptMixin::Load(), Load(), ScheduleEditor::Load(), LoadByProgram(), MakeOverride(), MakeTemplate(), TVRec::NotifySchedulerOfRecording(), SchedOptMixin::RuleChanged(), StoreOptMixin::RuleChanged(), PostProcMixin::RuleChanged(), FilterOptMixin::RuleChanged(), ScheduleEditor::RuleChanged(), Save(), ScheduleEditor::Save(), ProgramRecPriority::scheduleChanged(), ScheduleEditor::ShowFilters(), ScheduleEditor::ShowMetadataOptions(), ScheduleEditor::ShowNextView(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleEditor::ShowPreviousView(), ScheduleEditor::ShowSchedInfo(), ScheduleEditor::ShowSchedOpt(), ScheduleEditor::ShowStoreOpt(), ScheduleEditor::showUpcomingByRule(), ScheduleEditor::showUpcomingByTitle(), ToMap(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
RecSearchType RecordingRule::m_searchType {kNoSearch} |
Definition at line 112 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), Delete(), FillRecRuleInfo(), IsValid(), Load(), ScheduleEditor::Load(), LoadByProgram(), LoadBySearch(), ProgDetails::loadPage(), MakeOverride(), ModifyPowerSearchByID(), SchedOptMixin::RuleChanged(), Save(), ScheduleEditor::showUpcomingByTitle(), ToMap(), ProgramRecPriority::UpdateList(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
RecordingDupMethodType RecordingRule::m_dupMethod {kDupCheckSubThenDesc} |
Definition at line 113 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), SchedOptMixin::DupMethodChanged(), FillRecRuleInfo(), IsValid(), SchedOptMixin::Load(), Load(), SchedOptMixin::RuleChanged(), SchedOptMixin::Save(), Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
RecordingDupInType RecordingRule::m_dupIn {kDupsInAll} |
Definition at line 114 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), SchedOptMixin::Load(), Load(), SchedOptMixin::Save(), Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
unsigned RecordingRule::m_filter {0} |
Definition at line 115 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), IsValid(), Load(), FilterOptMixin::Load(), Save(), FilterOptMixin::Save(), ProgramRecPriority::UpdateList(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
AutoExtendType RecordingRule::m_autoExtend {AutoExtendType::None} |
Definition at line 116 of file recordingrule.h.
Referenced by V2Dvr::AddRecordSchedule(), RecordingExtender::create(), IsValid(), SchedOptMixin::Load(), Load(), RecordingExtender::processActiveRecordings(), RecordingExtender::processNewRecordings(), SchedOptMixin::Save(), Save(), ToMap(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_recProfile {tr("Default")} |
Definition at line 120 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), RecordingInfo::GetProgramRecordingProfile(), RecordingInfo::InsertProgram(), IsValid(), Load(), StoreOptMixin::Load(), ProgDetails::loadPage(), TVRec::LoadProfile(), Save(), StoreOptMixin::Save(), ProgramRecPriority::scheduleChanged(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_storageGroup {tr("Default")} |
Definition at line 121 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), Load(), StoreOptMixin::Load(), Save(), StoreOptMixin::Save(), ProgramRecPriority::scheduleChanged(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
QString RecordingRule::m_playGroup {tr("Default")} |
Definition at line 122 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), Load(), StoreOptMixin::Load(), LoadByProgram(), Save(), StoreOptMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
uint RecordingRule::m_recGroupID {RecordingInfo::kDefaultRecGroup} |
Definition at line 123 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), Load(), StoreOptMixin::Load(), Save(), StoreOptMixin::Save(), ProgramRecPriority::scheduleChanged(), TVRec::TuningRestartRecorder(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_maxEpisodes {0} |
Definition at line 125 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), IsValid(), Load(), StoreOptMixin::Load(), StoreOptMixin::MaxEpisodesChanged(), StoreOptMixin::RuleChanged(), Save(), StoreOptMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 126 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), TV::InitFromDB(), RecordingInfo::InsertProgram(), Load(), StoreOptMixin::Load(), Save(), StoreOptMixin::Save(), PlaybackBox::setRecGroup(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 127 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), Load(), StoreOptMixin::Load(), Save(), StoreOptMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_transcoder |
Definition at line 130 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::InsertProgram(), IsValid(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 131 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 132 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), PostProcMixin::RuleChanged(), Save(), PostProcMixin::Save(), PostProcMixin::TranscodeChanged(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 133 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 134 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 135 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 136 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
Definition at line 137 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), doUpgradeTVDatabaseSchema(), FillRecRuleInfo(), RecordingInfo::GetAutoRunJobs(), Load(), PostProcMixin::Load(), Save(), PostProcMixin::Save(), Dvr::UpdateRecordSchedule(), V2Dvr::UpdateRecordSchedule(), and V2FillRecRuleInfo().
int RecordingRule::m_averageDelay {100} |
Definition at line 141 of file recordingrule.h.
Referenced by FillRecRuleInfo(), Load(), Save(), and V2FillRecRuleInfo().
QDateTime RecordingRule::m_nextRecording |
Definition at line 142 of file recordingrule.h.
Referenced by FillRecRuleInfo(), Load(), Save(), ToMap(), and V2FillRecRuleInfo().
QDateTime RecordingRule::m_lastRecorded |
Definition at line 143 of file recordingrule.h.
Referenced by Dvr::AddRecordSchedule(), V2Dvr::AddRecordSchedule(), FillRecRuleInfo(), Load(), Save(), ProgramRecPriority::scheduleChanged(), ToMap(), and V2FillRecRuleInfo().
QDateTime RecordingRule::m_lastDeleted |
Definition at line 144 of file recordingrule.h.
Referenced by FillRecRuleInfo(), Load(), Save(), ToMap(), and V2FillRecRuleInfo().
QString RecordingRule::m_recordTable {"record"} |
Definition at line 147 of file recordingrule.h.
Referenced by Save(), and UseTempTable().
int RecordingRule::m_tempID {0} |
Definition at line 148 of file recordingrule.h.
Referenced by Save(), ScheduleEditor::ShowPreview(), and UseTempTable().
Definition at line 152 of file recordingrule.h.
Referenced by Load(), ScheduleEditor::Load(), and MakeOverride().
Definition at line 156 of file recordingrule.h.
Referenced by ScheduleEditor::Create(), SchedOptEditor::Create(), SchedFilterEditor::Create(), StoreOptEditor::Create(), PostProcEditor::Create(), MetadataOptions::Create(), Load(), ScheduleEditor::Load(), MakeTemplate(), ScheduleEditor::RuleChanged(), ScheduleEditor::showMenu(), ScheduleEditor::ShowNextView(), and ScheduleEditor::ShowPreviousView().
|
private |
Definition at line 163 of file recordingrule.h.
|
private |
Definition at line 167 of file recordingrule.h.
Referenced by AssignProgramInfo(), and LoadByProgram().
Definition at line 171 of file recordingrule.h.
Referenced by Load(), LoadByProgram(), LoadBySearch(), MakeTemplate(), and ModifyPowerSearchByID().