MythTV
master
|
#include <channelinfo.h>
Public Types | |
enum | ChannelFormat { kChannelShort, kChannelLong } |
Public Member Functions | |
ChannelInfo ()=default | |
ChannelInfo (const ChannelInfo &) | |
ChannelInfo (const QString &_channum, const QString &_callsign, uint _chanid, uint _major_chan, uint _minor_chan, uint _mplexid, bool _visible, const QString &_name, const QString &_icon, uint _sourceid) | |
ChannelInfo & | operator= (const ChannelInfo &) |
bool | operator== (uint chanid) const |
bool | Load (uint lchanid=-1) |
QString | GetFormatted (const ChannelFormat &format) const |
void | ToMap (InfoMap &infoMap) |
QString | GetSourceName () |
void | SetSourceName (const QString &lname) |
const QList< uint > | GetGroupIds () const |
void | LoadGroupIds () |
void | AddGroupId (uint lgroupid) |
void | RemoveGroupId (uint lgroupid) |
const 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 |
bool | m_visible {true} |
QString | m_outputfilters |
bool | m_useonairguide {false} |
uint | m_mplexid {0} |
uint | m_serviceid {0} |
uint | m_service_type {0} |
uint | m_atsc_major_chan {0} |
uint | m_atsc_minor_chan {0} |
QDateTime | m_last_record |
QString | m_default_authority |
int | m_commmethod {-1} |
int | m_tmoffset {0} |
uint | m_iptvid {0} |
QString | m_old_xmltvid |
Private Member Functions | |
void | Init () |
Private Attributes | |
QString | m_sourcename |
QList< uint > | m_groupIdList |
QList< uint > | m_inputIdList |
Definition at line 21 of file channelinfo.h.
Enumerator | |
---|---|
kChannelShort | |
kChannelLong |
Definition at line 39 of file channelinfo.h.
|
default |
ChannelInfo::ChannelInfo | ( | const ChannelInfo & | other | ) |
Definition at line 23 of file channelinfo.cpp.
ChannelInfo::ChannelInfo | ( | const QString & | _channum, |
const QString & | _callsign, | ||
uint | _chanid, | ||
uint | _major_chan, | ||
uint | _minor_chan, | ||
uint | _mplexid, | ||
bool | _visible, | ||
const QString & | _name, | ||
const QString & | _icon, | ||
uint | _sourceid | ||
) |
Definition at line 63 of file channelinfo.cpp.
ChannelInfo & ChannelInfo::operator= | ( | const ChannelInfo & | other | ) |
Definition at line 82 of file channelinfo.cpp.
Definition at line 34 of file channelinfo.h.
Definition at line 126 of file channelinfo.cpp.
Referenced by FillChannelInfo().
QString ChannelInfo::GetFormatted | ( | const ChannelFormat & | format | ) | const |
Definition at line 186 of file channelinfo.cpp.
Referenced by GuideGrid::updateChannelsUI(), and ChannelRecPriority::updateList().
void ChannelInfo::ToMap | ( | InfoMap & | infoMap | ) |
Definition at line 214 of file channelinfo.cpp.
Referenced by GuideGrid::updateChannelsUI(), GuideGrid::updateInfo(), and ChannelRecPriority::updateList().
QString ChannelInfo::GetSourceName | ( | ) |
Definition at line 206 of file channelinfo.cpp.
Referenced by ToMap().
|
inline |
Definition at line 44 of file channelinfo.h.
|
inline |
Definition at line 47 of file channelinfo.h.
Referenced by FillChannelInfo(), and ToMap().
void ChannelInfo::LoadGroupIds | ( | ) |
Definition at line 257 of file channelinfo.cpp.
|
inline |
Definition at line 49 of file channelinfo.h.
Referenced by ChannelUtil::LoadChannels(), and LoadGroupIds().
|
inline |
Definition at line 54 of file channelinfo.h.
|
inline |
Definition at line 57 of file channelinfo.h.
Referenced by FillChannelInfo().
void ChannelInfo::LoadInputIds | ( | ) |
Definition at line 235 of file channelinfo.cpp.
|
inline |
Definition at line 61 of file channelinfo.h.
Referenced by ChannelUtil::LoadChannels(), and LoadInputIds().
|
inline |
Definition at line 66 of file channelinfo.h.
|
private |
uint ChannelInfo::m_chanid {0} |
Definition at line 75 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelRecPriority::FillList(), ChannelData::FindMatchingChannel(), GuideGrid::GetAlternateChannelIndex(), GuideGrid::getProgramListFromProgram(), GuideGrid::GetSelection(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), LoadGroupIds(), LoadInputIds(), operator=(), ChannelRecPriority::saveRecPriority(), GuideGrid::toggleChannelFavorite(), ToMap(), and GuideGrid::updateChannelsNonUI().
QString ChannelInfo::m_channum |
Definition at line 76 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), GuideGrid::fillChannelInfos(), ChannelData::FindMatchingChannel(), GuideGrid::GetAlternateChannelIndex(), GetFormatted(), ChannelUtil::GetNearestChannel(), GuideGrid::GetSelection(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), lt_smart(), channelSort::operator()(), channelRecPrioritySort::operator()(), operator=(), and ToMap().
QString ChannelInfo::m_freqid |
Definition at line 77 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_sourceid {0} |
Definition at line 79 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), GetSourceName(), Load(), ChannelUtil::LoadChannels(), channelSort::operator()(), and operator=().
QString ChannelInfo::m_callsign |
Definition at line 81 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), GuideGrid::fillChannelInfos(), GetFormatted(), GuideGrid::GetSelection(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), lt_callsign(), operator=(), and ToMap().
QString ChannelInfo::m_name |
Definition at line 82 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelData::FindMatchingChannel(), GetFormatted(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), and ToMap().
QString ChannelInfo::m_icon |
Definition at line 83 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), ToMap(), GuideGrid::updateChannelsUI(), GuideGrid::updateInfo(), and ChannelRecPriority::updateList().
int ChannelInfo::m_finetune {0} |
Definition at line 85 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_videofilters |
Definition at line 86 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_xmltvid |
Definition at line 87 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelData::FindMatchingChannel(), ChannelUtil::GetChannelsInternal(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), operator=(), XMLTVParser::parseChannel(), and XMLTVParser::parseFile().
int ChannelInfo::m_recpriority {0} |
Definition at line 88 of file channelinfo.h.
Referenced by ChannelRecPriority::changeRecPriority(), ChannelInfo(), Load(), ChannelUtil::LoadChannels(), channelRecPrioritySort::operator()(), operator=(), ChannelRecPriority::saveRecPriority(), ToMap(), and ChannelRecPriority::updateList().
uint ChannelInfo::m_contrast {32768} |
Definition at line 90 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_brightness {32768} |
Definition at line 91 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_colour {32768} |
Definition at line 92 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_hue {32768} |
Definition at line 93 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_tvformat |
Definition at line 95 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), ChannelData::handleChannels(), Load(), ChannelUtil::LoadChannels(), and operator=().
Definition at line 96 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), operator=(), and ToMap().
QString ChannelInfo::m_outputfilters |
Definition at line 97 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
Definition at line 98 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_mplexid {0} |
Definition at line 100 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), operator=(), and ToMap().
uint ChannelInfo::m_serviceid {0} |
Definition at line 101 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_service_type {0} |
Definition at line 102 of file channelinfo.h.
Referenced by ChannelInfo(), and FillChannelInfo().
uint ChannelInfo::m_atsc_major_chan {0} |
Definition at line 103 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), lt_smart(), operator=(), and ToMap().
uint ChannelInfo::m_atsc_minor_chan {0} |
Definition at line 104 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), lt_smart(), operator=(), and ToMap().
QDateTime ChannelInfo::m_last_record |
Definition at line 106 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_default_authority |
Definition at line 108 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
int ChannelInfo::m_commmethod {-1} |
Definition at line 109 of file channelinfo.h.
Referenced by ChannelInfo(), FillChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
int ChannelInfo::m_tmoffset {0} |
Definition at line 110 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
uint ChannelInfo::m_iptvid {0} |
Definition at line 111 of file channelinfo.h.
Referenced by ChannelInfo(), Load(), ChannelUtil::LoadChannels(), and operator=().
QString ChannelInfo::m_old_xmltvid |
Definition at line 113 of file channelinfo.h.
Referenced by ChannelInfo(), and operator=().
|
private |
Definition at line 116 of file channelinfo.h.
Referenced by ChannelInfo(), GetSourceName(), and operator=().
|
private |
Definition at line 118 of file channelinfo.h.
Referenced by ChannelInfo(), LoadGroupIds(), and operator=().
|
private |
Definition at line 119 of file channelinfo.h.
Referenced by ChannelInfo(), LoadInputIds(), and operator=().