MythTV  0.26-pre
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
ViewScheduleDiff Class Reference

#include <viewschedulediff.h>

Inheritance diagram for ViewScheduleDiff:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 ViewScheduleDiff (MythScreenStack *parent, QString altTbl, int recordid=-1, QString ltitle="")
 ~ViewScheduleDiff ()
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.

Private Slots

void updateInfo (MythUIButtonListItem *item)
void showStatus (MythUIButtonListItem *item)

Private Member Functions

virtual void Load (void)
 Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning)
virtual void Init (void)
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()
void fillList (void)
void updateUIList ()
ProgramInfoCurrentProgram (void)

Private Attributes

bool m_inEvent
bool m_inFill
ProgramList m_recListBefore
ProgramList m_recListAfter
QString m_altTable
QString m_title
MythUIButtonListm_conflictList
MythUITextm_titleText
MythUITextm_noChangesText
vector< class ProgramStructm_recList
int m_recordid
 recordid that differs from master (-1 = assume all)

Detailed Description

Definition at line 24 of file viewschedulediff.h.


Constructor & Destructor Documentation

ViewScheduleDiff::ViewScheduleDiff ( MythScreenStack parent,
QString  altTbl,
int  recordid = -1,
QString  ltitle = "" 
)

Definition at line 20 of file viewschedulediff.cpp.

Definition at line 30 of file viewschedulediff.cpp.


Member Function Documentation

Reimplemented from MythScreenType.

Definition at line 34 of file viewschedulediff.cpp.

Referenced by ScheduleEditor::ShowPreview(), and CustomPriority::testSchedule().

bool ViewScheduleDiff::keyPressEvent ( QKeyEvent *  ) [virtual]

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 75 of file viewschedulediff.cpp.

Definition at line 327 of file viewschedulediff.cpp.

Referenced by Create().

Definition at line 95 of file viewschedulediff.cpp.

Referenced by Create().

void ViewScheduleDiff::Load ( void  ) [private, virtual]

Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning)

Warning:
This method should only load data, it should NEVER perform UI routines or segfaults WILL result. This includes assinging data to any widgets, calling methods on a widget or anything else which triggers redraws. The safest and recommended approach is to avoid any interaction with a libmythui class or class member.

Reimplemented from MythScreenType.

Definition at line 65 of file viewschedulediff.cpp.

void ViewScheduleDiff::Init ( void  ) [private, virtual]

Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()

Warning:
Do NOT confuse this with Load(), they serve very different purposes and most often both should be used when creating a new screen.

Reimplemented from MythScreenType.

Definition at line 70 of file viewschedulediff.cpp.

Definition at line 187 of file viewschedulediff.cpp.

Referenced by Load().

Definition at line 283 of file viewschedulediff.cpp.

Referenced by Init().

Definition at line 341 of file viewschedulediff.cpp.

Referenced by showStatus().


Member Data Documentation

Definition at line 48 of file viewschedulediff.h.

Referenced by keyPressEvent().

Definition at line 49 of file viewschedulediff.h.

Referenced by fillList().

Definition at line 51 of file viewschedulediff.h.

Referenced by fillList().

Definition at line 52 of file viewschedulediff.h.

Referenced by fillList(), and showStatus().

QString ViewScheduleDiff::m_altTable [private]

Definition at line 54 of file viewschedulediff.h.

Referenced by fillList().

QString ViewScheduleDiff::m_title [private]

Definition at line 55 of file viewschedulediff.h.

Referenced by Create().

Definition at line 57 of file viewschedulediff.h.

Referenced by Create(), CurrentProgram(), and updateUIList().

Definition at line 58 of file viewschedulediff.h.

Referenced by Create().

Definition at line 59 of file viewschedulediff.h.

Referenced by Create(), and updateUIList().

vector<class ProgramStruct> ViewScheduleDiff::m_recList [private]

Definition at line 61 of file viewschedulediff.h.

Referenced by CurrentProgram(), fillList(), and updateUIList().

recordid that differs from master (-1 = assume all)

Definition at line 63 of file viewschedulediff.h.

Referenced by fillList().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends