MythTV  master
Public Slots | Public Member Functions | Private Attributes | List of all members
ScriptableChannel Class Reference

#include <channel.h>

Inheritance diagram for ScriptableChannel:
Inheritance graph
[legend]
Collaboration diagram for ScriptableChannel:
Collaboration graph
[legend]

Public Slots

QObject * GetChannelInfoList (int SourceID=0, int ChannelGroupID=0, int StartIndex=0, int Count=0, bool OnlyVisible=false, bool Details=false, bool OrderByName=false, bool GroupByCallsign=false, bool OnlyTunable=false)
 
QObject * GetChannelInfo (int ChanID)
 
bool UpdateDBChannel (uint MplexID, uint SourceID, uint ChannelID, const QString &CallSign, const QString &ChannelName, const QString &ChannelNumber, uint ServiceID, uint ATSCMajorChannel, uint ATSCMinorChannel, bool UseEIT, bool visible, const QString &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority, uint ServiceType)
 
bool AddDBChannel (uint MplexID, uint SourceID, uint ChannelID, const QString &CallSign, const QString &ChannelName, const QString &ChannelNumber, uint ServiceID, uint ATSCMajorChannel, uint ATSCMinorChannel, bool UseEIT, bool Visible, const QString &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority, uint ServiceType)
 
bool RemoveDBChannel (uint ChannelID)
 
QObject * GetVideoSourceList (void)
 
QObject * GetVideoSource (uint SourceID)
 
bool UpdateVideoSource (uint SourceID, const QString &SourceName, const QString &Grabber, const QString &UserId, const QString &FreqTable, const QString &LineupId, const QString &Password, bool UseEIT, const QString &ConfigPath, int NITId, uint BouquetId, uint RegionId)
 
bool AddVideoSource (const QString &SourceName, const QString &Grabber, const QString &UserId, const QString &FreqTable, const QString &LineupId, const QString &Password, bool UseEIT, const QString &ConfigPath, int NITId, uint BouquetId, uint RegionId)
 
bool RemoveVideoSource (uint SourceID)
 
QObject * GetVideoMultiplexList (int SourceID, int StartIndex, int Count)
 
QObject * GetVideoMultiplex (int MplexID)
 
QStringList GetXMLTVIdList (int SourceID)
 

Public Member Functions

Q_INVOKABLE ScriptableChannel (QScriptEngine *pEngine, QObject *parent=nullptr)
 

Private Attributes

Channel m_obj
 
QScriptEngine * m_pEngine
 

Detailed Description

Definition at line 163 of file channel.h.

Constructor & Destructor Documentation

◆ ScriptableChannel()

Q_INVOKABLE ScriptableChannel::ScriptableChannel ( QScriptEngine *  pEngine,
QObject *  parent = nullptr 
)
inline

Definition at line 174 of file channel.h.

Member Function Documentation

◆ GetChannelInfoList

QObject* ScriptableChannel::GetChannelInfoList ( int  SourceID = 0,
int  ChannelGroupID = 0,
int  StartIndex = 0,
int  Count = 0,
bool  OnlyVisible = false,
bool  Details = false,
bool  OrderByName = false,
bool  GroupByCallsign = false,
bool  OnlyTunable = false 
)
inlineslot

Definition at line 181 of file channel.h.

◆ GetChannelInfo

QObject* ScriptableChannel::GetChannelInfo ( int  ChanID)
inlineslot

Definition at line 197 of file channel.h.

◆ UpdateDBChannel

bool ScriptableChannel::UpdateDBChannel ( uint  MplexID,
uint  SourceID,
uint  ChannelID,
const QString &  CallSign,
const QString &  ChannelName,
const QString &  ChannelNumber,
uint  ServiceID,
uint  ATSCMajorChannel,
uint  ATSCMinorChannel,
bool  UseEIT,
bool  visible,
const QString &  FrequencyID,
const QString &  Icon,
const QString &  Format,
const QString &  XMLTVID,
const QString &  DefaultAuthority,
uint  ServiceType 
)
inlineslot

Definition at line 204 of file channel.h.

◆ AddDBChannel

bool ScriptableChannel::AddDBChannel ( uint  MplexID,
uint  SourceID,
uint  ChannelID,
const QString &  CallSign,
const QString &  ChannelName,
const QString &  ChannelNumber,
uint  ServiceID,
uint  ATSCMajorChannel,
uint  ATSCMinorChannel,
bool  UseEIT,
bool  Visible,
const QString &  FrequencyID,
const QString &  Icon,
const QString &  Format,
const QString &  XMLTVID,
const QString &  DefaultAuthority,
uint  ServiceType 
)
inlineslot

Definition at line 231 of file channel.h.

◆ RemoveDBChannel

bool ScriptableChannel::RemoveDBChannel ( uint  ChannelID)
inlineslot

Definition at line 258 of file channel.h.

◆ GetVideoSourceList

QObject* ScriptableChannel::GetVideoSourceList ( void  )
inlineslot

Definition at line 265 of file channel.h.

◆ GetVideoSource

QObject* ScriptableChannel::GetVideoSource ( uint  SourceID)
inlineslot

Definition at line 272 of file channel.h.

◆ UpdateVideoSource

bool ScriptableChannel::UpdateVideoSource ( uint  SourceID,
const QString &  SourceName,
const QString &  Grabber,
const QString &  UserId,
const QString &  FreqTable,
const QString &  LineupId,
const QString &  Password,
bool  UseEIT,
const QString &  ConfigPath,
int  NITId,
uint  BouquetId,
uint  RegionId 
)
inlineslot

Definition at line 279 of file channel.h.

◆ AddVideoSource

bool ScriptableChannel::AddVideoSource ( const QString &  SourceName,
const QString &  Grabber,
const QString &  UserId,
const QString &  FreqTable,
const QString &  LineupId,
const QString &  Password,
bool  UseEIT,
const QString &  ConfigPath,
int  NITId,
uint  BouquetId,
uint  RegionId 
)
inlineslot

Definition at line 299 of file channel.h.

◆ RemoveVideoSource

bool ScriptableChannel::RemoveVideoSource ( uint  SourceID)
inlineslot

Definition at line 318 of file channel.h.

◆ GetVideoMultiplexList

QObject* ScriptableChannel::GetVideoMultiplexList ( int  SourceID,
int  StartIndex,
int  Count 
)
inlineslot

Definition at line 325 of file channel.h.

◆ GetVideoMultiplex

QObject* ScriptableChannel::GetVideoMultiplex ( int  MplexID)
inlineslot

Definition at line 334 of file channel.h.

◆ GetXMLTVIdList

QStringList ScriptableChannel::GetXMLTVIdList ( int  SourceID)
inlineslot

Definition at line 341 of file channel.h.

Member Data Documentation

◆ m_obj

Channel ScriptableChannel::m_obj
private

◆ m_pEngine

QScriptEngine* ScriptableChannel::m_pEngine
private

Definition at line 170 of file channel.h.

Referenced by ScriptableChannel().


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