MythTV  master
Static Public Member Functions | Private Member Functions | List of all members
ChannelGroup Class Reference

#include <channelgroup.h>

Static Public Member Functions

static ChannelGroupList GetChannelGroups (bool includeEmpty=true)
 
static bool ToggleChannel (uint chanid, int changrpid, bool delete_chan)
 
static bool AddChannel (uint chanid, int changrpid)
 
static bool DeleteChannel (uint chanid, int changrpid)
 
static int GetNextChannelGroup (const ChannelGroupList &sorted, int grpid)
 
static QString GetChannelGroupName (int grpid)
 
static int GetChannelGroupId (const QString &changroupname)
 

Private Member Functions

 Q_DECLARE_TR_FUNCTIONS (ChannelGroup)
 

Detailed Description

Definition at line 36 of file channelgroup.h.

Member Function Documentation

◆ Q_DECLARE_TR_FUNCTIONS()

ChannelGroup::Q_DECLARE_TR_FUNCTIONS ( ChannelGroup  )
private

◆ GetChannelGroups()

ChannelGroupList ChannelGroup::GetChannelGroups ( bool  includeEmpty = true)
static

◆ ToggleChannel()

bool ChannelGroup::ToggleChannel ( uint  chanid,
int  changrpid,
bool  delete_chan 
)
static

◆ AddChannel()

bool ChannelGroup::AddChannel ( uint  chanid,
int  changrpid 
)
static

Definition at line 62 of file channelgroup.cpp.

Referenced by Guide::AddToChannelGroup(), and ChannelGroupSetting::Save().

◆ DeleteChannel()

bool ChannelGroup::DeleteChannel ( uint  chanid,
int  changrpid 
)
static

Definition at line 139 of file channelgroup.cpp.

Referenced by Guide::RemoveFromChannelGroup(), and ChannelGroupSetting::Save().

◆ GetNextChannelGroup()

int ChannelGroup::GetNextChannelGroup ( const ChannelGroupList sorted,
int  grpid 
)
static

Definition at line 206 of file channelgroup.cpp.

Referenced by GuideGrid::toggleGuideListing().

◆ GetChannelGroupName()

QString ChannelGroup::GetChannelGroupName ( int  grpid)
static

◆ GetChannelGroupId()

int ChannelGroup::GetChannelGroupId ( const QString &  changroupname)
static

Definition at line 253 of file channelgroup.cpp.

Referenced by GuideGrid::customEvent(), and TVRec::ToggleChannelFavorite().


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