MythTV  master
playbackboxlistitem.cpp
Go to the documentation of this file.
1 #include "playbackboxlistitem.h"
2 #include "programinfo.h"
3 #include "playbackbox.h"
4 #include "mythlogging.h"
5 
6 #ifdef INCLUDE_UNFINISHED
8  PlaybackBox *parent, MythUIButtonList *lbtype, ProgramInfo *pi) :
9  MythUIButtonListItem(lbtype, "", QVariant::fromValue(pi)),
10  m_pbbox(parent)
11 {
12 }
13 
15  MythUIStateType *button, bool selected)
16 {
17  if (m_needs_update)
18  {
19  m_pbbox->UpdateUIListItem(this, selected);
20  m_needs_update = false;
21  }
22  MythUIButtonListItem::SetToRealButton(button, selected);
23 }
24 #else
26  PlaybackBox *parent, MythUIButtonList *lbtype, ProgramInfo *pi) :
27  MythUIButtonListItem(lbtype, "", QVariant::fromValue(pi))
28 {
29  (void) parent;
30 }
31 #endif
This widget is used for grouping other widgets for display when a particular named state is called.
virtual void SetToRealButton(MythUIStateType *button, bool selected)
Holds information on recordings and videos.
Definition: programinfo.h:67
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
MythUIButtonList * parent() const
PlaybackBoxListItem(PlaybackBox *parent, MythUIButtonList *lbtype, ProgramInfo *pi)