ScheduleEditor Class Reference

Construct a recording schedule. More...

#include <scheduleeditor.h>

Inheritance diagram for ScheduleEditor:
ScheduleCommon SchedOptMixin StoreOptMixin PostProcMixin MythScreenType MythUIType XMLParseBase

List of all members.

Public Slots

void ShowSchedOpt (void)
void ShowFilters (void)
void ShowStoreOpt (void)
void ShowPostProc (void)
void ShowMetadataOptions (void)
void ShowPreviousView (void)
void ShowNextView (void)
void ShowPreview (void)
void Save (void)

Signals

void ruleSaved (int ruleId)
void ruleDeleted (int ruleId)
void templateLoaded (void)

Public Member Functions

 ScheduleEditor (MythScreenStack *parent, RecordingInfo *recinfo, TV *player=NULL)
 ScheduleEditor (MythScreenStack *parent, RecordingRule *recrule, TV *player=NULL)
 ~ScheduleEditor ()
bool Create (void)
bool keyPressEvent (QKeyEvent *event)
 Key event handler.
void customEvent (QEvent *event)
void showMenu (void)
void showPrevious (void)
void showUpcomingByRule (void)
void showUpcomingByTitle (void)
void ShowDetails (ProgramInfo *pginfo) const
 Show the Program Details screen.

Static Public Member Functions

static void * RunScheduleEditor (ProgramInfo *proginfo, void *player=NULL)
 Callback.

Protected Slots

void RuleChanged (MythUIButtonListItem *item)
void DupMethodChanged (MythUIButtonListItem *)
void MaxEpisodesChanged (MythUIButtonListItem *)
void PromptForRecGroup (void)
void TranscodeChanged (bool enable)
void ShowSchedInfo (void)
void ChildClosing (void)
void Close (void)

Private Types

enum  View {
  kMainView, kSchedOptView, kFilterView, kStoreOptView,
  kPostProcView, kMetadataView
}

Private Member Functions

void Load (void)
void LoadTemplate (QString name)
void DeleteRule (void)
void showTemplateMenu (void)

Private Attributes

RecordingInfom_recInfo
RecordingRulem_recordingRule
bool m_sendSig
MythUIButtonm_saveButton
MythUIButtonm_cancelButton
MythUIButtonListm_rulesList
MythUIButtonm_schedOptButton
MythUIButtonm_storeOptButton
MythUIButtonm_postProcButton
MythUIButtonm_schedInfoButton
MythUIButtonm_previewButton
MythUIButtonm_metadataButton
MythUIButtonm_filtersButton
TVm_player
bool m_loaded
int m_view
SchedEditChildm_child

Detailed Description

Construct a recording schedule.

Definition at line 118 of file scheduleeditor.h.


Member Enumeration Documentation

enum ScheduleEditor::View [private]
Enumerator:
kMainView 
kSchedOptView 
kFilterView 
kStoreOptView 
kPostProcView 
kMetadataView 

Definition at line 198 of file scheduleeditor.h.


Constructor & Destructor Documentation

ScheduleEditor::ScheduleEditor ( MythScreenStack parent,
RecordingInfo recinfo,
TV player = NULL 
)

Definition at line 78 of file scheduleeditor.cpp.

Referenced by RunScheduleEditor().

ScheduleEditor::ScheduleEditor ( MythScreenStack parent,
RecordingRule recrule,
TV player = NULL 
)

Definition at line 99 of file scheduleeditor.cpp.

ScheduleEditor::~ScheduleEditor ( void   ) 

Definition at line 116 of file scheduleeditor.cpp.


Member Function Documentation

bool ScheduleEditor::Create ( void   )  [virtual]
bool ScheduleEditor::keyPressEvent ( QKeyEvent *   )  [virtual]

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 516 of file scheduleeditor.cpp.

void ScheduleEditor::customEvent ( QEvent *  event  )  [virtual]

Reimplemented from ScheduleCommon.

Definition at line 551 of file scheduleeditor.cpp.

void ScheduleEditor::showMenu ( void   ) 

Definition at line 800 of file scheduleeditor.cpp.

Referenced by SchedEditChild::keyPressEvent(), and keyPressEvent().

void ScheduleEditor::showPrevious ( void   ) 

Definition at line 603 of file scheduleeditor.cpp.

Referenced by customEvent().

void ScheduleEditor::showUpcomingByRule ( void   ) 

Definition at line 620 of file scheduleeditor.cpp.

Referenced by customEvent(), and showUpcomingByTitle().

void ScheduleEditor::showUpcomingByTitle ( void   ) 
void ScheduleEditor::ShowDetails ( ProgramInfo pginfo  )  const [inline]

Show the Program Details screen.

Reimplemented from ScheduleCommon.

Definition at line 137 of file scheduleeditor.h.

Referenced by customEvent(), SchedEditChild::keyPressEvent(), and keyPressEvent().

void * ScheduleEditor::RunScheduleEditor ( ProgramInfo proginfo,
void *  player = NULL 
) [static]

Callback.

Definition at line 56 of file scheduleeditor.cpp.

Referenced by SetFuncPtrs().

void ScheduleEditor::ruleSaved ( int  ruleId  )  [signal]

Referenced by Save().

void ScheduleEditor::ruleDeleted ( int  ruleId  )  [signal]

Referenced by Save().

void ScheduleEditor::templateLoaded ( void   )  [signal]

Referenced by LoadTemplate().

void ScheduleEditor::ShowSchedOpt ( void   )  [slot]

Definition at line 415 of file scheduleeditor.cpp.

Referenced by Create(), customEvent(), ShowNextView(), and ShowPreviousView().

void ScheduleEditor::ShowFilters ( void   )  [slot]

Definition at line 720 of file scheduleeditor.cpp.

Referenced by Create(), customEvent(), ShowNextView(), and ShowPreviousView().

void ScheduleEditor::ShowStoreOpt ( void   )  [slot]

Definition at line 440 of file scheduleeditor.cpp.

Referenced by Create(), customEvent(), ShowNextView(), and ShowPreviousView().

void ScheduleEditor::ShowPostProc ( void   )  [slot]

Definition at line 465 of file scheduleeditor.cpp.

Referenced by Create(), customEvent(), ShowNextView(), and ShowPreviousView().

void ScheduleEditor::ShowMetadataOptions ( void   )  [slot]

Definition at line 696 of file scheduleeditor.cpp.

Referenced by Create(), customEvent(), ShowNextView(), and ShowPreviousView().

void ScheduleEditor::ShowPreviousView ( void   )  [slot]

Definition at line 743 of file scheduleeditor.cpp.

Referenced by SchedEditChild::keyPressEvent(), and keyPressEvent().

void ScheduleEditor::ShowNextView ( void   )  [slot]

Definition at line 765 of file scheduleeditor.cpp.

Referenced by SchedEditChild::keyPressEvent(), and keyPressEvent().

void ScheduleEditor::ShowPreview ( void   )  [slot]

Definition at line 661 of file scheduleeditor.cpp.

Referenced by Create(), and customEvent().

void ScheduleEditor::Save ( void   )  [slot]

Reimplemented from SchedOptMixin.

Definition at line 386 of file scheduleeditor.cpp.

Referenced by Create(), ShowPostProc(), ShowPreview(), ShowSchedOpt(), and ShowStoreOpt().

void ScheduleEditor::RuleChanged ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 341 of file scheduleeditor.cpp.

void ScheduleEditor::DupMethodChanged ( MythUIButtonListItem item  )  [protected, slot]

Reimplemented from SchedOptMixin.

Definition at line 366 of file scheduleeditor.cpp.

Referenced by Create().

void ScheduleEditor::MaxEpisodesChanged ( MythUIButtonListItem item  )  [protected, slot]

Reimplemented from StoreOptMixin.

Definition at line 371 of file scheduleeditor.cpp.

Referenced by Create().

void ScheduleEditor::PromptForRecGroup ( void   )  [protected, slot]

Reimplemented from StoreOptMixin.

Definition at line 376 of file scheduleeditor.cpp.

Referenced by Create().

void ScheduleEditor::TranscodeChanged ( bool  enable  )  [protected, slot]

Reimplemented from PostProcMixin.

Definition at line 381 of file scheduleeditor.cpp.

Referenced by Create().

void ScheduleEditor::ShowSchedInfo ( void   )  [protected, slot]

Definition at line 490 of file scheduleeditor.cpp.

Referenced by Create(), and customEvent().

void ScheduleEditor::ChildClosing ( void   )  [protected, slot]

Definition at line 787 of file scheduleeditor.cpp.

void ScheduleEditor::Close ( void   )  [protected, virtual, slot]

Reimplemented from MythScreenType.

Definition at line 224 of file scheduleeditor.cpp.

Referenced by Create(), and Save().

void ScheduleEditor::Load ( void   )  [private]

Reimplemented from SchedOptMixin.

Definition at line 236 of file scheduleeditor.cpp.

Referenced by ChildClosing(), LoadTemplate(), and ShowPreview().

void ScheduleEditor::LoadTemplate ( QString  name  )  [private]

Definition at line 334 of file scheduleeditor.cpp.

Referenced by customEvent().

void ScheduleEditor::DeleteRule ( void   )  [private]

Definition at line 410 of file scheduleeditor.cpp.

Referenced by Save().

void ScheduleEditor::showTemplateMenu ( void   )  [private]

Definition at line 840 of file scheduleeditor.cpp.

Referenced by customEvent().


Member Data Documentation

Definition at line 179 of file scheduleeditor.h.

Definition at line 181 of file scheduleeditor.h.

Referenced by Create().

Definition at line 182 of file scheduleeditor.h.

Referenced by Create().

Definition at line 184 of file scheduleeditor.h.

Referenced by Create(), Load(), and showMenu().

Definition at line 186 of file scheduleeditor.h.

Referenced by Create(), and RuleChanged().

Definition at line 187 of file scheduleeditor.h.

Referenced by Create(), and RuleChanged().

Definition at line 188 of file scheduleeditor.h.

Referenced by Create(), and RuleChanged().

Definition at line 189 of file scheduleeditor.h.

Referenced by Create().

Definition at line 190 of file scheduleeditor.h.

Referenced by Create().

Definition at line 191 of file scheduleeditor.h.

Referenced by Create().

Definition at line 192 of file scheduleeditor.h.

Referenced by Create(), and RuleChanged().

Definition at line 194 of file scheduleeditor.h.

Referenced by Close(), Create(), and ~ScheduleEditor().

Reimplemented from SchedOptMixin.

Definition at line 196 of file scheduleeditor.h.

Referenced by Load().

int ScheduleEditor::m_view [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:24 2012 for MythTV by  doxygen 1.6.3