MythTV  master
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ChannelData Class Reference

#include <channeldata.h>

Public Member Functions

 ChannelData ()=default
 
bool insert_chan (uint sourceid)
 
void handleChannels (int id, ChannelInfoList *chanlist)
 
unsigned int promptForChannelUpdates (ChannelInfoList::iterator chaninfo, unsigned int chanid)
 

Static Public Member Functions

static ChannelInfo FindMatchingChannel (const ChannelInfo &chanInfo, ChannelList existingChannels)
 
static ChannelList channelList (int sourceId)
 
static QString normalizeChannelKey (const QString &chanName)
 

Public Attributes

bool m_interactive {false}
 
bool m_guideDataOnly {false}
 
bool m_channelPreset {false}
 
bool m_channelUpdates {false}
 
bool m_filterNewChannels {false}
 
QString m_cardType
 

Detailed Description

Definition at line 12 of file channeldata.h.

Constructor & Destructor Documentation

◆ ChannelData()

ChannelData::ChannelData ( )
default

Member Function Documentation

◆ insert_chan()

bool ChannelData::insert_chan ( uint  sourceid)

Definition at line 58 of file channeldata.cpp.

Referenced by handleChannels().

◆ handleChannels()

void ChannelData::handleChannels ( int  id,
ChannelInfoList chanlist 
)

Definition at line 188 of file channeldata.cpp.

◆ promptForChannelUpdates()

unsigned int ChannelData::promptForChannelUpdates ( ChannelInfoList::iterator  chaninfo,
unsigned int  chanid 
)

Definition at line 82 of file channeldata.cpp.

Referenced by handleChannels().

◆ FindMatchingChannel()

ChannelInfo ChannelData::FindMatchingChannel ( const ChannelInfo chanInfo,
ChannelList  existingChannels 
)
static

Definition at line 151 of file channeldata.cpp.

Referenced by handleChannels().

◆ channelList()

ChannelList ChannelData::channelList ( int  sourceId)
static

Definition at line 130 of file channeldata.cpp.

Referenced by handleChannels().

◆ normalizeChannelKey()

QString ChannelData::normalizeChannelKey ( const QString &  chanName)
static

Definition at line 118 of file channeldata.cpp.

Referenced by channelList(), and FindMatchingChannel().

Member Data Documentation

◆ m_interactive

bool ChannelData::m_interactive {false}

Definition at line 28 of file channeldata.h.

Referenced by handleChannels(), and main().

◆ m_guideDataOnly

bool ChannelData::m_guideDataOnly {false}

Definition at line 29 of file channeldata.h.

Referenced by handleChannels(), and main().

◆ m_channelPreset

bool ChannelData::m_channelPreset {false}

Definition at line 30 of file channeldata.h.

Referenced by handleChannels(), main(), and promptForChannelUpdates().

◆ m_channelUpdates

bool ChannelData::m_channelUpdates {false}

Definition at line 31 of file channeldata.h.

Referenced by insert_chan(), and main().

◆ m_filterNewChannels

bool ChannelData::m_filterNewChannels {false}

Definition at line 32 of file channeldata.h.

Referenced by main().

◆ m_cardType

QString ChannelData::m_cardType

Definition at line 33 of file channeldata.h.

Referenced by insert_chan(), and main().


The documentation for this class was generated from the following files: