PlaybackBox Class Reference

#include <playbackbox.h>

Inheritance diagram for PlaybackBox:

ScheduleCommon MythScreenType MythUIType XMLParseBase

List of all members.


Detailed Description

Definition at line 56 of file mythtv/programs/mythfrontend/playbackbox.h.


Public Types

enum  BoxType { kPlayBox, kDeleteBox }
enum  ViewType {
  TitlesOnly = 0, TitlesCategories = 1, TitlesCategoriesRecGroups = 2, TitlesRecGroups = 3,
  Categories = 4, CategoriesRecGroups = 5, RecGroups = 6, ViewTypes
}
enum  ViewTitleSort { TitleSortAlphabetical = 0, TitleSortRecPriority = 1, TitleSortMethods }
enum  ViewMask {
  VIEW_NONE = 0x0000, VIEW_TITLES = 0x0001, VIEW_CATEGORIES = 0x0002, VIEW_RECGROUPS = 0x0004,
  VIEW_WATCHLIST = 0x0008, VIEW_SEARCHES = 0x0010, VIEW_LIVETVGRP = 0x0020, VIEW_WATCHED = 0x8000
}
enum  DeletePopupType { kDeleteRecording, kStopRecording, kForceDeleteRecording }
enum  DeleteFlags {
  kNoFlags = 0x00, kForgetHistory = 0x01, kForce = 0x02, kIgnore = 0x04,
  kAllRemaining = 0x08
}
enum  killStateType { kNvpToPlay, kNvpToStop, kDone }

Public Slots

void displayRecGroup (const QString &newRecGroup="")

Public Member Functions

 PlaybackBox (MythScreenStack *parent, QString name, BoxType ltype, TV *player=NULL, bool showTV=false)
 ~PlaybackBox (void)
bool Create (void)
virtual void Load (void)
virtual void Init (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.
void customEvent (QEvent *event)
void setInitialRecGroup (QString initialGroup)

Static Public Member Functions

static void * RunPlaybackBox (void *player, bool)

Protected Slots

void updateRecList (MythUIButtonListItem *)
void ItemSelected (MythUIButtonListItem *item)
void ItemVisible (MythUIButtonListItem *item)
void selected (MythUIButtonListItem *item)
void PlayFromBookmark (MythUIButtonListItem *item=NULL)
void PlayFromBeginning (MythUIButtonListItem *item=NULL)
void deleteSelected (MythUIButtonListItem *item)
void SwitchList (void)
void ShowGroupPopup (void)
void customEdit ()
void upcoming ()
void details ()
void StopSelected (void)
void showMetadataEditor ()
void showGroupFilter ()
void showRecGroupPasswordChanger ()
void showPlayFromPopup ()
void showRecordingPopup ()
void showJobPopup ()
void showTranscodingProfiles ()
void changeProfileAndTranscode (const QString &profile)
void changeProfileAndTranscodeAuto ()
void changeProfileAndTranscodeHigh ()
void changeProfileAndTranscodeMedium ()
void changeProfileAndTranscodeLow ()
void showStoragePopup ()
void showPlaylistPopup ()
void showPlaylistStoragePopup ()
void showPlaylistJobPopup ()
void showProgramDetails ()
void showIconHelp ()
void ShowRecGroupChangerUsePlaylist (void)
void ShowPlayGroupChangerUsePlaylist (void)
void ShowRecGroupChanger (bool use_playlist=false)
 Used to change the recording group of a program or playlist.
void ShowPlayGroupChanger (bool use_playlist=false)
 Used to change the play group of a program or playlist.
void popupClosed (QString which, int reason)
void doPlayListRandom ()
void askStop ()
void doEditScheduled ()
void doAllowRerecord ()
 Callback function when Allow Re-record is pressed in Watch Recordings.
void askDelete ()
void Undelete (void)
void Delete (DeleteFlags=kNoFlags)
void DeleteForgetHistory (void)
void DeleteForce (void)
void DeleteIgnore (void)
void DeleteForceAllRemaining (void)
void DeleteIgnoreAllRemaining (void)
void toggleWatched ()
void toggleAutoExpire ()
void togglePreserveEpisode ()
void toggleView (ViewMask itemMask, bool setOn)
void toggleTitleView (bool setOn)
void toggleCategoryView (bool setOn)
void toggleRecGroupView (bool setOn)
void toggleWatchListView (bool setOn)
void toggleSearchView (bool setOn)
void toggleLiveTVView (bool setOn)
void toggleWatchedView (bool setOn)
void setGroupFilter (const QString &newRecGroup)
void setRecGroup (QString newRecGroup)
void setPlayGroup (QString newPlayGroup)
void saveRecMetadata (const QString &newTitle, const QString &newSubtitle)
void SetRecGroupPassword (const QString &newPasswd)
void doJobQueueJob (int jobType, int jobFlags=0)
void doPlaylistJobQueueJob (int jobType, int jobFlags=0)
void stopPlaylistJobQueueJob (int jobType)
void doBeginFlagging ()
void doBeginTranscoding ()
void doBeginUserJob1 ()
void doBeginUserJob2 ()
void doBeginUserJob3 ()
void doBeginUserJob4 ()
void doPlaylistBeginTranscoding ()
void stopPlaylistTranscoding ()
void doPlaylistBeginFlagging ()
void stopPlaylistFlagging ()
void doPlaylistBeginUserJob1 ()
void stopPlaylistUserJob1 ()
void doPlaylistBeginUserJob2 ()
void stopPlaylistUserJob2 ()
void doPlaylistBeginUserJob3 ()
void stopPlaylistUserJob3 ()
void doPlaylistBeginUserJob4 ()
void stopPlaylistUserJob4 ()
void doClearPlaylist ()
void PlaylistDeleteForgetHistory (void)
void PlaylistDelete (bool forgetHistory=false)
void doPlaylistExpireSetting (bool turnOn)
void doPlaylistExpireSetOn ()
void doPlaylistExpireSetOff ()
void doPlaylistWatchedSetting (bool turnOn)
void doPlaylistWatchedSetOn ()
void doPlaylistWatchedSetOff ()
void togglePlayListTitle (void)
void togglePlayListItem (void)
void playSelectedPlaylist (bool random)
void doPlayList (void)
void showViewChanger (void)
void saveViewChanges (void)
void checkPassword (const QString &password)
void fanartLoad (void)
void bannerLoad (void)
void coverartLoad (void)

Private Member Functions

bool UpdateUILists (void)
void UpdateUIGroupList (const QStringList &groupPreferences)
void UpdateUIRecGroupList (void)
void UpdateProgressBar (void)
QString cutDown (const QString &, QFont *, int)
void PlayX (const ProgramInfo &rec, bool ignoreBookmark, bool underNetworkControl)
bool Play (const ProgramInfo &rec, bool inPlaylist, bool ignoreBookmark, bool underNetworkControl)
ProgramInfoCurrentItem (void)
void togglePlayListItem (ProgramInfo *pginfo)
void randomizePlayList (void)
void processNetworkControlCommands (void)
void processNetworkControlCommand (const QString &command)
ProgramInfoFindProgramInUILists (const ProgramInfo &)
ProgramInfoFindProgramInUILists (const QString &key)
 Extracts chanid and recstartts from a string constructed by ProgramInfo::MakeUniqueKey() returns the matching program info from the UI program info lists.
ProgramInfoFindProgramInUILists (uint chanid, const QDateTime &recstartts, QString recgroup="NotLiveTV")
void RemoveProgram (uint chanid, const QDateTime &recstartts, bool forgetHistory, bool forceMetadataDelete)
void ShowDeletePopup (DeletePopupType)
void ShowAvailabilityPopup (const ProgramInfo &)
void ShowActionPopup (const ProgramInfo &)
QString getRecGroupPassword (const QString &recGroup)
void fillRecGroupPasswordCache (void)
bool IsUsageUIVisible (void) const
void updateIcons (const ProgramInfo *pginfo=NULL)
void UpdateUsageUI (void)
void updateGroupInfo (const QString &groupname, const QString &grouplabel)
void SetItemIcons (MythUIButtonListItem *item, ProgramInfo *pginfo)
void UpdateUIListItem (ProgramInfo *ProgramInfo_pointer_from_FindProgramInUILists, bool force_preview_reload)
void UpdateUIListItem (MythUIButtonListItem *item, bool is_sel, bool force_preview_reload=true)
void HandlePreviewEvent (const QStringList &list)
 Updates the UI properties for a new preview file.
void HandleRecordingRemoveEvent (uint chanid, const QDateTime &recstartts)
void HandleRecordingAddEvent (const ProgramInfo &evinfo)
void HandleUpdateProgramInfoEvent (const ProgramInfo &evinfo)
void HandleUpdateProgramInfoFileSizeEvent (uint chanid, const QDateTime &recstartts, uint64_t filesize)
void ScheduleUpdateUIList (void)
bool CreatePopupMenu (const QString &title)
bool CreatePopupMenu (const QString &title, const ProgramInfo &pginfo)
bool CreatePopupMenuPlaylist (void)
QString CreateProgramInfoString (const ProgramInfo &program) const

Private Attributes

QRegExp m_prefixes
 prefixes to be ignored when sorting
QRegExp m_titleChaff
 stuff to remove for search rules
MythUIButtonListm_recgroupList
MythUIButtonListm_groupList
MythUIButtonListm_recordingList
MythUITextm_noRecordingsText
MythUIImagem_previewImage
QString m_artHostOverride
MythUIImagem_artImage [3]
QTimer * m_artTimer [3]
InfoMap m_currentMap
BoxType m_type
 If "Play" this is a recording playback selection UI, if "Delete this is a recording deletion selection UI.
QString m_formatShortDate
QString m_formatLongDate
QString m_formatTime
bool m_titleView
 titleView controls showing titles in group list
bool m_useCategories
 useCategories controls showing categories in group list
bool m_useRecGroups
 useRecGroups controls showing of recording groups in group list
bool m_watchListStart
 use the Watch List as the initial view
bool m_watchListAutoExpire
 exclude recording not marked for auto-expire from the Watch List
int m_watchListMaxAge
 add 1 to the Watch List scord up to this many days
int m_watchListBlackOut
 adjust exclusion of a title from the Watch List after a delete
bool m_groupnameAsAllProg
 contains "DispRecGroupAsAllProg" setting
int m_allOrder
 allOrder controls the ordering of the "All Programs" list
int m_listOrder
 listOrder controls the ordering of the recordings in the list
QString m_groupDisplayName
QString m_recGroup
QString m_curGroupPassword
QString m_newRecGroup
QString m_watchGroupName
QString m_watchGroupLabel
ViewMask m_viewMask
MythDialogBoxm_popupMenu
MythScreenStackm_popupStack
bool m_doToggleMenu
QMap< QString, QString > m_recGroupType
QMap< QString, QString > m_recGroupPwCache
QStringList m_titleList
 list of pages
ProgramMap m_progLists
 lists of programs by page
int m_progsInDB
 total number of recordings in DB
bool m_isFilling
QStringList m_recGroups
QMutex m_recGroupsLock
int m_recGroupIdx
QStringList m_delList
 Program[s] currently selected for deletion.
QString m_currentGroup
 Group currently selected.
QStringList m_playList
 list of selected items "play list"
bool m_op_on_playlist
QStringList m_playListPlay
 list of items being played.
ProgramInfoCache m_programInfoCache
bool m_playingSomething
 playingSomething is set to true iff a full screen recording is playing
bool m_needUpdate
 Does the recording list need to be refilled.
bool m_haveGroupInfoSet
QMutex m_ncLock
deque< QString > m_networkControlCommands
TVm_player
QStringList m_player_selected_new_show
PlaybackBoxHelper m_helper
 Main helper thread.
QSet< QString > m_preview_tokens
 Outstanding preview image requests.

Friends

class PlaybackBoxListItem

Member Enumeration Documentation

Enumerator:
kPlayBox 
kDeleteBox 

Definition at line 62 of file mythtv/programs/mythfrontend/playbackbox.h.

Enumerator:
TitlesOnly 
TitlesCategories 
TitlesCategoriesRecGroups 
TitlesRecGroups 
Categories 
CategoriesRecGroups 
RecGroups 
ViewTypes 

Definition at line 69 of file mythtv/programs/mythfrontend/playbackbox.h.

Enumerator:
TitleSortAlphabetical 
TitleSortRecPriority 
TitleSortMethods 

Definition at line 81 of file mythtv/programs/mythfrontend/playbackbox.h.

Enumerator:
VIEW_NONE 
VIEW_TITLES 
VIEW_CATEGORIES 
VIEW_RECGROUPS 
VIEW_WATCHLIST 
VIEW_SEARCHES 
VIEW_LIVETVGRP 
VIEW_WATCHED 

Definition at line 87 of file mythtv/programs/mythfrontend/playbackbox.h.

Enumerator:
kDeleteRecording 
kStopRecording 
kForceDeleteRecording 

Definition at line 99 of file mythtv/programs/mythfrontend/playbackbox.h.

Enumerator:
kNoFlags 
kForgetHistory 
kForce 
kIgnore 
kAllRemaining 

Definition at line 106 of file mythtv/programs/mythfrontend/playbackbox.h.

Enumerator:
kNvpToPlay 
kNvpToStop 
kDone 

Definition at line 115 of file mythtv/programs/mythfrontend/playbackbox.h.


Constructor & Destructor Documentation

PlaybackBox::PlaybackBox ( MythScreenStack parent,
QString  name,
BoxType  ltype,
TV player = NULL,
bool  showTV = false 
)

Definition at line 326 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by RunPlaybackBox().

PlaybackBox::~PlaybackBox ( void   ) 


Member Function Documentation

bool PlaybackBox::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 459 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by RunPlaybackBox(), startDelete(), and startPlaybackWithGroup().

void PlaybackBox::Load ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 512 of file mythtv/programs/mythfrontend/playbackbox.cpp.

void PlaybackBox::Init ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 518 of file mythtv/programs/mythfrontend/playbackbox.cpp.

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

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 3570 of file mythtv/programs/mythfrontend/playbackbox.cpp.

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

Reimplemented from ScheduleCommon.

Definition at line 3709 of file mythtv/programs/mythfrontend/playbackbox.cpp.

void PlaybackBox::setInitialRecGroup ( QString  initialGroup  )  [inline]

Definition at line 132 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by startPlaybackWithGroup().

void * PlaybackBox::RunPlaybackBox ( void *  player,
bool  showTV 
) [static]

Definition at line 311 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by InitJumpPoints().

void PlaybackBox::displayRecGroup ( const QString &  newRecGroup = ""  )  [slot]

void PlaybackBox::updateRecList ( MythUIButtonListItem sel_item  )  [protected, slot]

Definition at line 1200 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Create(), and UpdateUIGroupList().

void PlaybackBox::ItemSelected ( MythUIButtonListItem item  )  [inline, protected, slot]

Definition at line 140 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by Create().

void PlaybackBox::ItemVisible ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 849 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Create().

void PlaybackBox::selected ( MythUIButtonListItem item  )  [protected, slot]

void PlaybackBox::PlayFromBookmark ( MythUIButtonListItem item = NULL  )  [protected, slot]

void PlaybackBox::PlayFromBeginning ( MythUIButtonListItem item = NULL  )  [protected, slot]

Definition at line 2050 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showPlayFromPopup().

void PlaybackBox::deleteSelected ( MythUIButtonListItem item  )  [protected, slot]

Definition at line 2092 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent(), and selected().

void PlaybackBox::SwitchList ( void   )  [protected, slot]

Definition at line 543 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Create().

void PlaybackBox::ShowGroupPopup ( void   )  [protected, slot]

Definition at line 2239 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent(), and popupClosed().

void PlaybackBox::customEdit (  )  [protected, slot]

void PlaybackBox::upcoming ( void   )  [protected, slot]

Definition at line 2149 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::details (  )  [protected, slot]

Definition at line 2180 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::StopSelected ( void   )  [protected, slot]

Definition at line 2085 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowDeletePopup().

void PlaybackBox::showMetadataEditor (  )  [protected, slot]

Definition at line 4497 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showRecordingPopup().

void PlaybackBox::showGroupFilter ( void   )  [protected, slot]

void PlaybackBox::showRecGroupPasswordChanger ( void   )  [protected, slot]

Definition at line 4660 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowGroupPopup().

void PlaybackBox::showPlayFromPopup (  )  [protected, slot]

Definition at line 2762 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::showRecordingPopup (  )  [protected, slot]

Definition at line 2804 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::showJobPopup (  )  [protected, slot]

Definition at line 2826 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::showTranscodingProfiles (  )  [protected, slot]

Definition at line 2898 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showJobPopup().

void PlaybackBox::changeProfileAndTranscode ( const QString &  profile  )  [protected, slot]

void PlaybackBox::changeProfileAndTranscodeAuto (  )  [inline, protected, slot]

Definition at line 163 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showTranscodingProfiles().

void PlaybackBox::changeProfileAndTranscodeHigh (  )  [inline, protected, slot]

Definition at line 165 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showTranscodingProfiles().

void PlaybackBox::changeProfileAndTranscodeMedium (  )  [inline, protected, slot]

Definition at line 167 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showTranscodingProfiles().

void PlaybackBox::changeProfileAndTranscodeLow (  )  [inline, protected, slot]

Definition at line 169 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showTranscodingProfiles().

void PlaybackBox::showStoragePopup (  )  [protected, slot]

Definition at line 2774 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::showPlaylistPopup (  )  [protected, slot]

void PlaybackBox::showPlaylistStoragePopup (  )  [protected, slot]

Definition at line 2590 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showPlaylistPopup().

void PlaybackBox::showPlaylistJobPopup ( void   )  [protected, slot]

Definition at line 2609 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showPlaylistPopup().

void PlaybackBox::showProgramDetails (  )  [protected, slot]

void PlaybackBox::showIconHelp ( void   )  [protected, slot]

Definition at line 4137 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

void PlaybackBox::ShowRecGroupChangerUsePlaylist ( void   )  [inline, protected, slot]

void PlaybackBox::ShowPlayGroupChangerUsePlaylist ( void   )  [inline, protected, slot]

void PlaybackBox::ShowRecGroupChanger ( bool  use_playlist = false  )  [protected, slot]

Used to change the recording group of a program or playlist.

Definition at line 4359 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowRecGroupChangerUsePlaylist(), and showStoragePopup().

void PlaybackBox::ShowPlayGroupChanger ( bool  use_playlist = false  )  [protected, slot]

Used to change the play group of a program or playlist.

Definition at line 4419 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowPlayGroupChangerUsePlaylist(), and showStoragePopup().

void PlaybackBox::popupClosed ( QString  which,
int  reason 
) [protected, slot]

void PlaybackBox::doPlayListRandom ( void   )  [protected, slot]

Definition at line 3079 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showPlaylistPopup().

void PlaybackBox::askStop ( void   )  [protected, slot]

Definition at line 3084 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::doEditScheduled (  )  [protected, slot]

void PlaybackBox::doAllowRerecord (  )  [protected, slot]

Callback function when Allow Re-record is pressed in Watch Recordings.

Hide the current program from the scheduler by calling ForgetHistory This will allow it to re-record without deleting

Definition at line 3114 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showRecordingPopup().

void PlaybackBox::askDelete (  )  [protected, slot]

Definition at line 3214 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::Undelete ( void   )  [protected, slot]

Definition at line 3256 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::Delete ( DeleteFlags  flags = kNoFlags  )  [protected, slot]

void PlaybackBox::DeleteForgetHistory ( void   )  [inline, protected, slot]

Definition at line 194 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteForce ( void   )  [inline, protected, slot]

Definition at line 195 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteIgnore ( void   )  [inline, protected, slot]

Definition at line 196 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteForceAllRemaining ( void   )  [inline, protected, slot]

Definition at line 197 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::DeleteIgnoreAllRemaining ( void   )  [inline, protected, slot]

Definition at line 199 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by ShowDeletePopup().

void PlaybackBox::toggleWatched ( void   )  [protected, slot]

Definition at line 3344 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowActionPopup().

void PlaybackBox::toggleAutoExpire (  )  [protected, slot]

Definition at line 3370 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showStoragePopup().

void PlaybackBox::togglePreserveEpisode (  )  [protected, slot]

Definition at line 3392 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showStoragePopup().

void PlaybackBox::toggleView ( ViewMask  itemMask,
bool  setOn 
) [protected, slot]

void PlaybackBox::toggleTitleView ( bool  setOn  )  [inline, protected, slot]

Definition at line 207 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::toggleCategoryView ( bool  setOn  )  [inline, protected, slot]

Definition at line 208 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::toggleRecGroupView ( bool  setOn  )  [inline, protected, slot]

Definition at line 209 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::toggleWatchListView ( bool  setOn  )  [inline, protected, slot]

Definition at line 210 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::toggleSearchView ( bool  setOn  )  [inline, protected, slot]

Definition at line 211 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::toggleLiveTVView ( bool  setOn  )  [inline, protected, slot]

Definition at line 212 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::toggleWatchedView ( bool  setOn  )  [inline, protected, slot]

Definition at line 213 of file mythtv/programs/mythfrontend/playbackbox.h.

void PlaybackBox::setGroupFilter ( const QString &  newRecGroup  )  [protected, slot]

void PlaybackBox::setRecGroup ( QString  newRecGroup  )  [protected, slot]

Definition at line 4554 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowRecGroupChanger().

void PlaybackBox::setPlayGroup ( QString  newPlayGroup  )  [protected, slot]

Definition at line 4626 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by ShowPlayGroupChanger().

void PlaybackBox::saveRecMetadata ( const QString &  newTitle,
const QString &  newSubtitle 
) [protected, slot]

Definition at line 4515 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showMetadataEditor().

void PlaybackBox::SetRecGroupPassword ( const QString &  newPasswd  )  [protected, slot]

void PlaybackBox::doJobQueueJob ( int  jobType,
int  jobFlags = 0 
) [protected, slot]

void PlaybackBox::doPlaylistJobQueueJob ( int  jobType,
int  jobFlags = 0 
) [protected, slot]

void PlaybackBox::stopPlaylistJobQueueJob ( int  jobType  )  [protected, slot]

void PlaybackBox::doBeginFlagging (  )  [protected, slot]

Definition at line 3159 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showJobPopup().

void PlaybackBox::doBeginTranscoding (  )  [inline, protected, slot]

void PlaybackBox::doBeginUserJob1 (  )  [inline, protected, slot]

Definition at line 229 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showJobPopup().

void PlaybackBox::doBeginUserJob2 (  )  [inline, protected, slot]

Definition at line 230 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showJobPopup().

void PlaybackBox::doBeginUserJob3 (  )  [inline, protected, slot]

Definition at line 231 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showJobPopup().

void PlaybackBox::doBeginUserJob4 (  )  [inline, protected, slot]

Definition at line 232 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showJobPopup().

void PlaybackBox::doPlaylistBeginTranscoding (  )  [inline, protected, slot]

Definition at line 233 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::stopPlaylistTranscoding (  )  [inline, protected, slot]

Definition at line 235 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::doPlaylistBeginFlagging (  )  [inline, protected, slot]

Definition at line 236 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::stopPlaylistFlagging (  )  [inline, protected, slot]

Definition at line 237 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::doPlaylistBeginUserJob1 (  )  [inline, protected, slot]

Definition at line 238 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::stopPlaylistUserJob1 (  )  [inline, protected, slot]

Definition at line 239 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::doPlaylistBeginUserJob2 (  )  [inline, protected, slot]

Definition at line 240 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::stopPlaylistUserJob2 (  )  [inline, protected, slot]

Definition at line 241 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::doPlaylistBeginUserJob3 (  )  [inline, protected, slot]

Definition at line 242 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::stopPlaylistUserJob3 (  )  [inline, protected, slot]

Definition at line 243 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::doPlaylistBeginUserJob4 (  )  [inline, protected, slot]

Definition at line 244 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::stopPlaylistUserJob4 (  )  [inline, protected, slot]

Definition at line 245 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistJobPopup().

void PlaybackBox::doClearPlaylist ( void   )  [protected, slot]

void PlaybackBox::PlaylistDeleteForgetHistory ( void   )  [inline, protected, slot]

Definition at line 247 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by showPlaylistPopup().

void PlaybackBox::PlaylistDelete ( bool  forgetHistory = false  )  [protected, slot]

void PlaybackBox::doPlaylistExpireSetting ( bool  turnOn  )  [protected, slot]

void PlaybackBox::doPlaylistExpireSetOn (  )  [inline, protected, slot]

void PlaybackBox::doPlaylistExpireSetOff (  )  [inline, protected, slot]

void PlaybackBox::doPlaylistWatchedSetting ( bool  turnOn  )  [protected, slot]

void PlaybackBox::doPlaylistWatchedSetOn (  )  [inline, protected, slot]

void PlaybackBox::doPlaylistWatchedSetOff (  )  [inline, protected, slot]

void PlaybackBox::togglePlayListTitle ( void   )  [protected, slot]

void PlaybackBox::togglePlayListItem ( void   )  [protected, slot]

void PlaybackBox::playSelectedPlaylist ( bool  random  )  [protected, slot]

Definition at line 2014 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by doPlayList(), and doPlayListRandom().

void PlaybackBox::doPlayList ( void   )  [protected, slot]

Definition at line 3073 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showPlaylistPopup().

void PlaybackBox::showViewChanger ( void   )  [protected, slot]

Definition at line 4147 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

void PlaybackBox::saveViewChanges ( void   )  [protected, slot]

Definition at line 4160 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by showViewChanger().

void PlaybackBox::checkPassword ( const QString &  password  )  [protected, slot]

Definition at line 577 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by displayRecGroup().

void PlaybackBox::fanartLoad ( void   )  [protected, slot]

Definition at line 2378 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Create().

void PlaybackBox::bannerLoad ( void   )  [protected, slot]

Definition at line 2383 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Create().

void PlaybackBox::coverartLoad ( void   )  [protected, slot]

Definition at line 2388 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Create().

bool PlaybackBox::UpdateUILists ( void   )  [private]

void PlaybackBox::UpdateUIGroupList ( const QStringList &  groupPreferences  )  [private]

Definition at line 1156 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by UpdateUILists().

void PlaybackBox::UpdateUIRecGroupList ( void   )  [private]

Definition at line 1132 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by UpdateUILists().

void PlaybackBox::UpdateProgressBar ( void   )  [private]

QString PlaybackBox::cutDown ( const QString &  ,
QFont *  ,
int   
) [private]

void PlaybackBox::PlayX ( const ProgramInfo rec,
bool  ignoreBookmark,
bool  underNetworkControl 
) [private]

bool PlaybackBox::Play ( const ProgramInfo rec,
bool  inPlaylist,
bool  ignoreBookmark,
bool  underNetworkControl 
) [private]

Definition at line 2296 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by customEvent(), and PlayX().

ProgramInfo * PlaybackBox::CurrentItem ( void   )  [private]

void PlaybackBox::togglePlayListItem ( ProgramInfo pginfo  )  [private]

void PlaybackBox::randomizePlayList ( void   )  [private]

void PlaybackBox::processNetworkControlCommands ( void   )  [private]

Definition at line 3489 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent().

void PlaybackBox::processNetworkControlCommand ( const QString &  command  )  [private]

ProgramInfo * PlaybackBox::FindProgramInUILists ( const ProgramInfo pginfo  )  [private]

ProgramInfo * PlaybackBox::FindProgramInUILists ( const QString &  key  )  [private]

Extracts chanid and recstartts from a string constructed by ProgramInfo::MakeUniqueKey() returns the matching program info from the UI program info lists.

Definition at line 3298 of file mythtv/programs/mythfrontend/playbackbox.cpp.

ProgramInfo * PlaybackBox::FindProgramInUILists ( uint  chanid,
const QDateTime &  recstartts,
QString  recgroup = "NotLiveTV" 
) [private]

void PlaybackBox::RemoveProgram ( uint  chanid,
const QDateTime &  recstartts,
bool  forgetHistory,
bool  forceMetadataDelete 
) [private]

Definition at line 2344 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by Delete(), and deleteSelected().

void PlaybackBox::ShowDeletePopup ( DeletePopupType  type  )  [private]

void PlaybackBox::ShowAvailabilityPopup ( const ProgramInfo pginfo  )  [private]

void PlaybackBox::ShowActionPopup ( const ProgramInfo pginfo  )  [private]

Definition at line 2926 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by keyPressEvent(), and popupClosed().

QString PlaybackBox::getRecGroupPassword ( const QString &  recGroup  )  [private]

void PlaybackBox::fillRecGroupPasswordCache ( void   )  [private]

Definition at line 4330 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by PlaybackBox().

bool PlaybackBox::IsUsageUIVisible ( void   )  const [private]

void PlaybackBox::updateIcons ( const ProgramInfo pginfo = NULL  )  [private]

void PlaybackBox::UpdateUsageUI ( void   )  [private]

Definition at line 1074 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by UpdateUILists().

void PlaybackBox::updateGroupInfo ( const QString &  groupname,
const QString &  grouplabel 
) [private]

Definition at line 584 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by updateRecList().

void PlaybackBox::SetItemIcons ( MythUIButtonListItem item,
ProgramInfo pginfo 
) [private]

void PlaybackBox::UpdateUIListItem ( ProgramInfo ProgramInfo_pointer_from_FindProgramInUILists,
bool  force_preview_reload 
) [private]

void PlaybackBox::UpdateUIListItem ( MythUIButtonListItem item,
bool  is_sel,
bool  force_preview_reload = true 
) [private]

void PlaybackBox::HandlePreviewEvent ( const QStringList &  list  )  [private]

Updates the UI properties for a new preview file.

This first update the image property of the MythUIButtonListItem with the new preview file, then if it is selected and there is a preview image UI item in the theme that it's filename property gets updated as well.

Definition at line 873 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleRecordingRemoveEvent ( uint  chanid,
const QDateTime &  recstartts 
) [private]

Definition at line 4018 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleRecordingAddEvent ( const ProgramInfo evinfo  )  [private]

Definition at line 4095 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleUpdateProgramInfoEvent ( const ProgramInfo evinfo  )  [private]

Definition at line 4101 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::HandleUpdateProgramInfoFileSizeEvent ( uint  chanid,
const QDateTime &  recstartts,
uint64_t  filesize 
) [private]

Definition at line 4121 of file mythtv/programs/mythfrontend/playbackbox.cpp.

Referenced by customEvent().

void PlaybackBox::ScheduleUpdateUIList ( void   )  [private]

bool PlaybackBox::CreatePopupMenu ( const QString &  title  )  [private]

bool PlaybackBox::CreatePopupMenu ( const QString &  title,
const ProgramInfo pginfo 
) [inline, private]

Definition at line 332 of file mythtv/programs/mythfrontend/playbackbox.h.

bool PlaybackBox::CreatePopupMenuPlaylist ( void   )  [private]

QString PlaybackBox::CreateProgramInfoString ( const ProgramInfo program  )  const [private]


Friends And Related Function Documentation

friend class PlaybackBoxListItem [friend]

Definition at line 59 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by updateRecList().


Member Data Documentation

QRegExp PlaybackBox::m_prefixes [private]

prefixes to be ignored when sorting

Definition at line 339 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by UpdateUILists().

QRegExp PlaybackBox::m_titleChaff [private]

stuff to remove for search rules

Definition at line 340 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by UpdateUILists().

Definition at line 346 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by Create(), and updateRecList().

QString PlaybackBox::m_artHostOverride [private]

QTimer* PlaybackBox::m_artTimer[3] [private]

If "Play" this is a recording playback selection UI, if "Delete this is a recording deletion selection UI.

Definition at line 359 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by Create(), selected(), updateGroupInfo(), and UpdateUILists().

QString PlaybackBox::m_formatShortDate [private]

QString PlaybackBox::m_formatLongDate [private]

QString PlaybackBox::m_formatTime [private]

titleView controls showing titles in group list

Definition at line 365 of file mythtv/programs/mythfrontend/playbackbox.h.

useCategories controls showing categories in group list

Definition at line 367 of file mythtv/programs/mythfrontend/playbackbox.h.

useRecGroups controls showing of recording groups in group list

Definition at line 369 of file mythtv/programs/mythfrontend/playbackbox.h.

use the Watch List as the initial view

Definition at line 371 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

exclude recording not marked for auto-expire from the Watch List

Definition at line 373 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

add 1 to the Watch List scord up to this many days

Definition at line 375 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

adjust exclusion of a title from the Watch List after a delete

Definition at line 377 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

contains "DispRecGroupAsAllProg" setting

Definition at line 379 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and setGroupFilter().

int PlaybackBox::m_allOrder [private]

allOrder controls the ordering of the "All Programs" list

Definition at line 381 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

int PlaybackBox::m_listOrder [private]

listOrder controls the ordering of the recordings in the list

Definition at line 383 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

QString PlaybackBox::m_recGroup [private]

QString PlaybackBox::m_newRecGroup [private]

Definition at line 389 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by checkPassword(), and displayRecGroup().

QString PlaybackBox::m_watchGroupName [private]

Definition at line 390 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by UpdateUILists().

QString PlaybackBox::m_watchGroupLabel [private]

Definition at line 391 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by UpdateUILists().

Definition at line 399 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by popupClosed().

QMap<QString,QString> PlaybackBox::m_recGroupType [private]

QMap<QString,QString> PlaybackBox::m_recGroupPwCache [private]

QStringList PlaybackBox::m_titleList [private]

list of pages

Definition at line 407 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by Init(), keyPressEvent(), UpdateUIGroupList(), and UpdateUILists().

int PlaybackBox::m_progsInDB [private]

total number of recordings in DB

Definition at line 409 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by Init(), and UpdateUILists().

Definition at line 410 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by updateRecList(), and UpdateUILists().

QStringList PlaybackBox::m_recGroups [private]

QMutex PlaybackBox::m_recGroupsLock [mutable, private]

Definition at line 413 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by keyPressEvent(), and UpdateUILists().

QStringList PlaybackBox::m_delList [private]

Program[s] currently selected for deletion.

Definition at line 418 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by askDelete(), askStop(), customEvent(), Delete(), deleteSelected(), ShowActionPopup(), ShowDeletePopup(), and Undelete().

QString PlaybackBox::m_currentGroup [private]

Group currently selected.

Definition at line 420 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by customEvent(), updateRecList(), and UpdateUIGroupList().

QStringList PlaybackBox::m_playList [private]

QStringList PlaybackBox::m_playListPlay [private]

list of items being played.

Definition at line 425 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by customEvent(), Play(), and playSelectedPlaylist().

playingSomething is set to true iff a full screen recording is playing

Definition at line 430 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by Play(), and processNetworkControlCommand().

Does the recording list need to be refilled.

Definition at line 433 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by updateRecList(), and UpdateUIGroupList().

Definition at line 436 of file mythtv/programs/mythfrontend/playbackbox.h.

QMutex PlaybackBox::m_ncLock [mutable, private]

Definition at line 444 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by PlayX(), and ~PlaybackBox().

QSet<QString> PlaybackBox::m_preview_tokens [private]

Outstanding preview image requests.

Definition at line 448 of file mythtv/programs/mythfrontend/playbackbox.h.

Referenced by customEvent(), HandlePreviewEvent(), ItemVisible(), and UpdateUIListItem().


The documentation for this class was generated from the following files:

Generated on Thu Sep 9 06:39:48 2010 for MythTV by  doxygen 1.5.5