#include <progfind.h>
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 |
| TV * | m_player |
| bool | m_embedVideo |
| bool | m_allowEPG |
| bool | m_allowKeypress |
| ProgramList | m_showData |
| ProgramList | m_schedList |
| InfoMap | m_infoMap |
| MythUIButtonList * | m_alphabetList |
| MythUIButtonList * | m_showList |
| MythUIButtonList * | m_timesList |
| MythUIText * | m_searchText |
| MythUIText * | m_help1Text |
| MythUIText * | m_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) |
Definition at line 23 of file progfind.h.
typedef QMap<QString,QString> ProgFinder::ShowName [protected] |
Definition at line 53 of file progfind.h.
| 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.
| 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.
| 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] |
Definition at line 333 of file progfind.cpp.
Referenced by alphabetListItemSelected(), Init(), showListTakeFocus(), and timesListTakeFocus().
| 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().
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().
ShowName ProgFinder::m_showNames [protected] |
Definition at line 69 of file progfind.h.
Referenced by getShowNames(), and updateShowList().
QString ProgFinder::m_searchStr [protected] |
Definition at line 71 of file progfind.h.
Referenced by customEvent(), ShowMenu(), RuProgFinder::whereClauseGetSearchData(), HeProgFinder::whereClauseGetSearchData(), JaProgFinder::whereClauseGetSearchData(), and whereClauseGetSearchData().
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().
bool ProgFinder::m_embedVideo [protected] |
Definition at line 75 of file progfind.h.
Referenced by showGuide().
bool ProgFinder::m_allowEPG [protected] |
Definition at line 76 of file progfind.h.
Referenced by keyPressEvent(), showGuide(), and ~ProgFinder().
bool ProgFinder::m_allowKeypress [protected] |
Definition at line 77 of file progfind.h.
Referenced by Init(), and keyPressEvent().
ProgramList ProgFinder::m_showData [protected] |
Definition at line 79 of file progfind.h.
Referenced by customEdit(), customEvent(), details(), edit(), getInfo(), selectShowData(), upcoming(), updateInfo(), and updateTimesList().
ProgramList ProgFinder::m_schedList [protected] |
Definition at line 80 of file progfind.h.
Referenced by selectShowData().
InfoMap ProgFinder::m_infoMap [protected] |
Definition at line 82 of file progfind.h.
Referenced by updateInfo().
MythUIButtonList* ProgFinder::m_alphabetList [protected] |
Definition at line 84 of file progfind.h.
Referenced by Create(), formatSelectedData(), Init(), RuProgFinder::initAlphabetList(), HeProgFinder::initAlphabetList(), JaProgFinder::initAlphabetList(), initAlphabetList(), select(), updateInfo(), RuProgFinder::whereClauseGetSearchData(), HeProgFinder::whereClauseGetSearchData(), JaProgFinder::whereClauseGetSearchData(), and whereClauseGetSearchData().
MythUIButtonList* ProgFinder::m_showList [protected] |
Definition at line 85 of file progfind.h.
Referenced by Create(), customEvent(), Init(), select(), selectShowData(), updateInfo(), and updateShowList().
MythUIButtonList* ProgFinder::m_timesList [protected] |
Definition at line 86 of file progfind.h.
Referenced by Create(), customEdit(), customEvent(), details(), edit(), getInfo(), Init(), select(), selectShowData(), ShowMenu(), timesListLosingFocus(), upcoming(), updateInfo(), and updateTimesList().
MythUIText* ProgFinder::m_searchText [protected] |
Definition at line 88 of file progfind.h.
Referenced by Create(), and customEvent().
MythUIText* ProgFinder::m_help1Text [protected] |
Definition at line 89 of file progfind.h.
Referenced by Create(), and updateInfo().
MythUIText* ProgFinder::m_help2Text [protected] |
Definition at line 90 of file progfind.h.
Referenced by Create(), and updateInfo().
1.6.3