00001 #include "playbackboxlistitem.h" 00002 #include "programinfo.h" 00003 #include "playbackbox.h" 00004 #include "mythlogging.h" 00005 00006 PlaybackBoxListItem::PlaybackBoxListItem( 00007 PlaybackBox *parent, MythUIButtonList *lbtype, ProgramInfo *pi) : 00008 MythUIButtonListItem(lbtype, "", qVariantFromValue(pi)), 00009 pbbox(parent), needs_update(true) 00010 { 00011 } 00012 /* 00013 void PlaybackBoxListItem::SetToRealButton( 00014 MythUIStateType *button, bool selected) 00015 { 00016 if (needs_update) 00017 { 00018 pbbox->UpdateUIListItem(this, selected); 00019 needs_update = false; 00020 } 00021 MythUIButtonListItem::SetToRealButton(button, selected); 00022 } 00023 */