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