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