ProgFinder Class Reference

#include <progfind.h>

Inheritance diagram for ProgFinder:
ScheduleCommon MythScreenType MythUIType XMLParseBase HeProgFinder JaProgFinder RuProgFinder

List of all members.

Public Member Functions

 ProgFinder (MythScreenStack *parentStack, bool allowEPG=true, TV *player=NULL, bool embedVideo=false)
virtual ~ProgFinder ()
bool Create (void)
bool keyPressEvent (QKeyEvent *event)
 Key event handler.

Protected Types

typedef QMap< QString, QString > ShowName

Protected Member Functions

virtual void Init (void)
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load().
virtual void initAlphabetList (void)
virtual bool formatSelectedData (QString &data)
virtual bool formatSelectedData (QString &data, int charNum)
virtual void restoreSelectedData (QString &data)
virtual void whereClauseGetSearchData (QString &where, MSqlBindings &bindings)
void ShowMenu (void)
void getShowNames (void)
void updateShowList ()
void updateTimesList ()
void selectShowData (QString, int)

Protected Attributes

ShowName m_showNames
QString m_searchStr
QString m_currentLetter
TVm_player
bool m_embedVideo
bool m_allowEPG
bool m_allowKeypress
ProgramList m_showData
ProgramList m_schedList
InfoMap m_infoMap
MythUIButtonListm_alphabetList
MythUIButtonListm_showList
MythUIButtonListm_timesList
MythUITextm_searchText
MythUITextm_help1Text
MythUITextm_help2Text

Private Slots

void alphabetListItemSelected (MythUIButtonListItem *item)
void showListTakeFocus (void)
void timesListTakeFocus (void)
void timesListLosingFocus (void)
void showGuide ()
void select ()
void customEdit ()
void upcoming ()
void details ()
void quickRecord ()
void customEvent (QEvent *e)
void updateInfo (void)
void getInfo (bool toggle=false)
void edit (void)

Detailed Description

Definition at line 23 of file progfind.h.


Member Typedef Documentation

typedef QMap<QString,QString> ProgFinder::ShowName [protected]

Definition at line 53 of file progfind.h.


Constructor & Destructor Documentation

ProgFinder::ProgFinder ( MythScreenStack parentStack,
bool  allowEPG = true,
TV player = NULL,
bool  embedVideo = false 
) [explicit]

Definition at line 54 of file progfind.cpp.

ProgFinder::~ProgFinder (  )  [virtual]

Definition at line 126 of file progfind.cpp.


Member Function Documentation

bool ProgFinder::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 66 of file progfind.cpp.

Referenced by RunProgramFinder().

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

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 166 of file progfind.cpp.

void ProgFinder::alphabetListItemSelected ( MythUIButtonListItem item  )  [private, slot]

Definition at line 139 of file progfind.cpp.

Referenced by Init().

void ProgFinder::showListTakeFocus ( void   )  [private, slot]

Definition at line 155 of file progfind.cpp.

Referenced by Init().

void ProgFinder::timesListTakeFocus ( void   )  [private, slot]

Definition at line 160 of file progfind.cpp.

Referenced by Init().

void ProgFinder::timesListLosingFocus ( void   )  [private, slot]

Definition at line 150 of file progfind.cpp.

Referenced by Init().

void ProgFinder::showGuide (  )  [private, slot]

Definition at line 397 of file progfind.cpp.

Referenced by customEvent(), and keyPressEvent().

void ProgFinder::select (  )  [private, slot]

Definition at line 449 of file progfind.cpp.

Referenced by Init().

void ProgFinder::customEdit (  )  [private, slot]

Definition at line 459 of file progfind.cpp.

Referenced by customEvent(), and keyPressEvent().

void ProgFinder::upcoming ( void   )  [private, slot]

Definition at line 468 of file progfind.cpp.

Referenced by customEvent(), and keyPressEvent().

void ProgFinder::details (  )  [private, slot]

Definition at line 477 of file progfind.cpp.

Referenced by customEvent(), and keyPressEvent().

void ProgFinder::quickRecord (  )  [private, slot]

Definition at line 486 of file progfind.cpp.

Referenced by customEvent(), and keyPressEvent().

void ProgFinder::customEvent ( QEvent *  e  )  [private, virtual, slot]

Reimplemented from ScheduleCommon.

Definition at line 252 of file progfind.cpp.

void ProgFinder::updateInfo ( void   )  [private, slot]
void ProgFinder::getInfo ( bool  toggle = false  )  [private, slot]

Definition at line 409 of file progfind.cpp.

Referenced by quickRecord(), and select().

void ProgFinder::edit ( void   )  [private, slot]

Definition at line 434 of file progfind.cpp.

Referenced by keyPressEvent().

void ProgFinder::Init ( void   )  [protected, 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 99 of file progfind.cpp.

void ProgFinder::initAlphabetList ( void   )  [protected, virtual]

Reimplemented in JaProgFinder, HeProgFinder, and RuProgFinder.

Definition at line 587 of file progfind.cpp.

Referenced by Init().

bool ProgFinder::formatSelectedData ( QString &  data  )  [protected, virtual]

Reimplemented in JaProgFinder, HeProgFinder, and RuProgFinder.

Definition at line 660 of file progfind.cpp.

Referenced by getShowNames().

bool ProgFinder::formatSelectedData ( QString &  data,
int  charNum 
) [protected, virtual]

Reimplemented in JaProgFinder, HeProgFinder, and RuProgFinder.

Definition at line 712 of file progfind.cpp.

void ProgFinder::restoreSelectedData ( QString &  data  )  [protected, virtual]

Reimplemented in JaProgFinder, HeProgFinder, and RuProgFinder.

Definition at line 751 of file progfind.cpp.

Referenced by updateShowList().

void ProgFinder::whereClauseGetSearchData ( QString &  where,
MSqlBindings bindings 
) [protected, virtual]

Reimplemented in JaProgFinder, HeProgFinder, and RuProgFinder.

Definition at line 600 of file progfind.cpp.

Referenced by getShowNames().

void ProgFinder::ShowMenu ( void   )  [protected, virtual]

Reimplemented from MythScreenType.

Definition at line 221 of file progfind.cpp.

void ProgFinder::getShowNames ( void   )  [protected]

Definition at line 520 of file progfind.cpp.

Referenced by updateShowList().

void ProgFinder::updateShowList (  )  [protected]

Definition at line 548 of file progfind.cpp.

Referenced by alphabetListItemSelected(), and customEvent().

void ProgFinder::updateTimesList (  )  [protected]

Definition at line 491 of file progfind.cpp.

Referenced by selectShowData().

void ProgFinder::selectShowData ( QString  progTitle,
int  newCurShow 
) [protected]

Definition at line 566 of file progfind.cpp.

Referenced by customEvent(), edit(), getInfo(), and timesListTakeFocus().


Member Data Documentation

Definition at line 69 of file progfind.h.

Referenced by getShowNames(), and updateShowList().

QString ProgFinder::m_searchStr [protected]
QString ProgFinder::m_currentLetter [protected]

Definition at line 72 of file progfind.h.

Referenced by alphabetListItemSelected().

TV* ProgFinder::m_player [protected]

Definition at line 74 of file progfind.h.

Referenced by Create(), keyPressEvent(), showGuide(), and ~ProgFinder().

Definition at line 75 of file progfind.h.

Referenced by showGuide().

Definition at line 76 of file progfind.h.

Referenced by keyPressEvent(), showGuide(), and ~ProgFinder().

Definition at line 77 of file progfind.h.

Referenced by Init(), and keyPressEvent().

Definition at line 80 of file progfind.h.

Referenced by selectShowData().

Definition at line 82 of file progfind.h.

Referenced by updateInfo().

Definition at line 85 of file progfind.h.

Referenced by Create(), customEvent(), Init(), select(), selectShowData(), updateInfo(), and updateShowList().

Definition at line 88 of file progfind.h.

Referenced by Create(), and customEvent().

Definition at line 89 of file progfind.h.

Referenced by Create(), and updateInfo().

Definition at line 90 of file progfind.h.

Referenced by Create(), and updateInfo().


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