MythTV
master
|
#include <libmythtv/channelinfo.h>
Public Types | |
enum | ChannelFormat : std::uint8_t { kChannelShort, kChannelLong } |
Public Member Functions | |
ChannelInfo ()=default | |
ChannelInfo (const ChannelInfo &other) | |
ChannelInfo (QString _channum, QString _callsign, uint _chanid, uint _major_chan, uint _minor_chan, uint _mplexid, ChannelVisibleType _visible, QString _name, QString _icon, uint _sourceid) | |
ChannelInfo & | operator= (const ChannelInfo &other) |
bool | operator== (uint chanid) const |
bool | Load (uint lchanid=-1) |
QString | GetFormatted (ChannelFormat format) const |
void | ToMap (InfoMap &infoMap) |
QString | GetSourceName () |
void | SetSourceName (const QString &lname) |
QList< uint > | GetGroupIds () const |
void | LoadGroupIds () |
void | AddGroupId (uint lgroupid) |
void | RemoveGroupId (uint lgroupid) |
QList< uint > | GetInputIds () const |
void | LoadInputIds () |
void | AddInputId (uint linputid) |
void | RemoveInputId (uint linputid) |
Public Attributes | |
uint | m_chanId {0} |
QString | m_chanNum |
QString | m_freqId |
uint | m_sourceId {0} |
QString | m_callSign |
QString | m_name |
QString | m_icon |
int | m_fineTune {0} |
QString | m_videoFilters |
QString | m_xmltvId |
int | m_recPriority {0} |
uint | m_contrast {32768} |
uint | m_brightness {32768} |
uint | m_colour {32768} |
uint | m_hue {32768} |
QString | m_tvFormat |
ChannelVisibleType | m_visible {kChannelVisible} |
QString | m_outputFilters |
bool | m_useOnAirGuide {false} |
uint | m_mplexId {0} |
uint | m_serviceId {0} |
uint | m_serviceType {0} |
uint | m_atscMajorChan {0} |
uint | m_atscMinorChan {0} |
QDateTime | m_lastRecord |
QString | m_defaultAuthority |
int | m_commMethod {-1} |
int | m_tmOffset {0} |
uint | m_iptvId {0} |
QString | m_oldXmltvId |
Private Member Functions | |
void | Init () |
Private Attributes | |
QString | m_sourceName |
QList< uint > | m_groupIdList |
QList< uint > | m_inputIdList |
Definition at line 31 of file channelinfo.h.
enum ChannelInfo::ChannelFormat : std::uint8_t |
Enumerator | |
---|---|
kChannelShort | |
kChannelLong |
Definition at line 49 of file channelinfo.h.
|
default |
ChannelInfo::ChannelInfo | ( | const ChannelInfo & | other | ) |
Definition at line 27 of file channelinfo.cpp.
ChannelInfo::ChannelInfo | ( | QString | _channum, |
QString | _callsign, | ||
uint | _chanid, | ||
uint | _major_chan, | ||
uint | _minor_chan, | ||
uint | _mplexid, | ||
ChannelVisibleType | _visible, | ||
QString | _name, | ||
QString | _icon, | ||
uint | _sourceid | ||
) |
Definition at line 67 of file channelinfo.cpp.
ChannelInfo & ChannelInfo::operator= | ( | const ChannelInfo & | other | ) |
Definition at line 86 of file channelinfo.cpp.
Definition at line 44 of file channelinfo.h.
Definition at line 131 of file channelinfo.cpp.
Referenced by V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::GetFormatted | ( | ChannelFormat | format | ) | const |
Definition at line 192 of file channelinfo.cpp.
Referenced by GuideGrid::updateChannelsUI(), and ChannelRecPriority::updateList().
void ChannelInfo::ToMap | ( | InfoMap & | infoMap | ) |
Definition at line 220 of file channelinfo.cpp.
Referenced by GuideGrid::updateChannelsUI(), GuideGrid::updateInfo(), and ChannelRecPriority::updateList().
QString ChannelInfo::GetSourceName | ( | ) |
Definition at line 212 of file channelinfo.cpp.
Referenced by ToMap().
|
inline |
Definition at line 54 of file channelinfo.h.
|
inline |
Definition at line 57 of file channelinfo.h.
Referenced by ToMap(), and V2FillChannelInfo().
void ChannelInfo::LoadGroupIds | ( | ) |
Definition at line 263 of file channelinfo.cpp.
|
inline |
Definition at line 59 of file channelinfo.h.
Referenced by ChannelUtil::GetChannelsInternal(), ChannelUtil::LoadChannels(), and LoadGroupIds().
|
inline |
Definition at line 64 of file channelinfo.h.
|
inline |
Definition at line 67 of file channelinfo.h.
Referenced by V2FillChannelInfo().
void ChannelInfo::LoadInputIds | ( | ) |
Definition at line 241 of file channelinfo.cpp.
|
inline |
Definition at line 71 of file channelinfo.h.
Referenced by ChannelUtil::GetChannelsInternal(), ChannelUtil::LoadChannels(), and LoadInputIds().
|
inline |
Definition at line 76 of file channelinfo.h.
|
private |
uint ChannelInfo::m_chanId {0} |
Definition at line 85 of file channelinfo.h.
Referenced by ChannelRecPriority::FillList(), ChannelData::FindMatchingChannel(), GuideGrid::GetAlternateChannelIndex(), GuideGrid::getProgramListFromProgram(), GuideGrid::GetSelection(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), LoadGroupIds(), LoadInputIds(), operator=(), ChannelRecPriority::saveRecPriority(), GuideGrid::toggleChannelFavorite(), ToMap(), GuideGrid::updateChannelsNonUI(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::m_chanNum |
Definition at line 86 of file channelinfo.h.
Referenced by GuideGrid::fillChannelInfos(), ChannelData::FindMatchingChannel(), GuideGrid::GetAlternateChannelIndex(), GetFormatted(), ChannelUtil::GetNearestChannel(), GuideGrid::GetSelection(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), lt_smart(), channelSort::operator()(), channelRecPrioritySort::operator()(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::m_freqId |
Definition at line 87 of file channelinfo.h.
Referenced by ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_sourceId {0} |
Definition at line 89 of file channelinfo.h.
Referenced by GetSourceName(), Load(), ChannelUtil::LoadChannels(), channelSort::operator()(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::m_callSign |
Definition at line 91 of file channelinfo.h.
Referenced by GuideGrid::fillChannelInfos(), GetFormatted(), GuideGrid::GetSelection(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), lt_callsign(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::m_name |
Definition at line 92 of file channelinfo.h.
Referenced by ChannelData::FindMatchingChannel(), GetFormatted(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::m_icon |
Definition at line 93 of file channelinfo.h.
Referenced by ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), ToMap(), GuideGrid::updateChannelsUI(), V2Channel::UpdateDBChannel(), GuideGrid::updateInfo(), ChannelRecPriority::updateList(), and V2FillChannelInfo().
int ChannelInfo::m_fineTune {0} |
Definition at line 95 of file channelinfo.h.
Referenced by ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), and V2FillChannelInfo().
QString ChannelInfo::m_videoFilters |
Definition at line 96 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), and V2FillChannelInfo().
QString ChannelInfo::m_xmltvId |
Definition at line 97 of file channelinfo.h.
Referenced by ChannelData::FindMatchingChannel(), ChannelUtil::GetChannelsInternal(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), XMLTVParser::parseFile(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
int ChannelInfo::m_recPriority {0} |
Definition at line 98 of file channelinfo.h.
Referenced by ChannelRecPriority::changeRecPriority(), Load(), ChannelUtil::LoadChannels(), channelRecPrioritySort::operator()(), operator=(), ChannelRecPriority::saveRecPriority(), ToMap(), V2Channel::UpdateDBChannel(), ChannelRecPriority::updateList(), and V2FillChannelInfo().
uint ChannelInfo::m_contrast {32768} |
Definition at line 100 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_brightness {32768} |
Definition at line 101 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_colour {32768} |
Definition at line 102 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_hue {32768} |
Definition at line 103 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_tvFormat |
Definition at line 105 of file channelinfo.h.
Referenced by ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
ChannelVisibleType ChannelInfo::m_visible {kChannelVisible} |
Definition at line 106 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QString ChannelInfo::m_outputFilters |
Definition at line 107 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
Definition at line 108 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_mplexId {0} |
Definition at line 110 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_serviceId {0} |
Definition at line 111 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_serviceType {0} |
Definition at line 112 of file channelinfo.h.
Referenced by operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_atscMajorChan {0} |
Definition at line 113 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), lt_smart(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_atscMinorChan {0} |
Definition at line 114 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), lt_smart(), operator=(), ToMap(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
QDateTime ChannelInfo::m_lastRecord |
Definition at line 116 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_defaultAuthority |
Definition at line 118 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
int ChannelInfo::m_commMethod {-1} |
Definition at line 119 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
int ChannelInfo::m_tmOffset {0} |
Definition at line 120 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), operator=(), V2Channel::UpdateDBChannel(), and V2FillChannelInfo().
uint ChannelInfo::m_iptvId {0} |
Definition at line 121 of file channelinfo.h.
Referenced by Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_oldXmltvId |
Definition at line 123 of file channelinfo.h.
Referenced by operator=().
|
private |
Definition at line 126 of file channelinfo.h.
Referenced by GetSourceName(), and operator=().
|
private |
Definition at line 128 of file channelinfo.h.
Referenced by LoadGroupIds(), and operator=().
|
private |
Definition at line 129 of file channelinfo.h.
Referenced by LoadInputIds(), and operator=().