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

#include <guide.h>

Inheritance diagram for ScriptableGuide:
Inheritance graph
Collaboration diagram for ScriptableGuide:
Collaboration graph

Public Slots

QObject * GetProgramGuide (const QDateTime &StartTime, const QDateTime &EndTime, bool Details, int ChannelGroupId, int StartIndex, int Count, bool WithInvisible)
QObject * GetProgramList (int StartIndex, int Count, const QDateTime &StartTime, const QDateTime &EndTime, int ChanId, const QString &TitleFilter, const QString &CategoryFilter, const QString &PersonFilter, const QString &KeywordFilter, bool OnlyNew, bool Details, const QString &Sort, bool Descending, bool WithInvisible)
QObject * GetProgramDetails (int ChanId, const QDateTime &StartTime)
QObject * GetChannelGroupList (bool IncludeEmpty=false)
QStringList GetCategoryList ()
QStringList GetStoredSearches (const QString &Type)
bool AddToChannelGroup (int ChannelGroupId, int ChanId)
bool RemoveFromChannelGroup (int ChannelGroupId, int ChanId)

Public Member Functions

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

Private Attributes

Guide m_obj
QScriptEngine * m_pEngine

Detailed Description

Definition at line 109 of file guide.h.

Constructor & Destructor Documentation

◆ ScriptableGuide()

Q_INVOKABLE ScriptableGuide::ScriptableGuide ( QScriptEngine *  pEngine,
QObject *  parent = nullptr 

Definition at line 120 of file guide.h.

Member Function Documentation

◆ GetProgramGuide

QObject* ScriptableGuide::GetProgramGuide ( const QDateTime &  StartTime,
const QDateTime &  EndTime,
bool  Details,
int  ChannelGroupId,
int  StartIndex,
int  Count,
bool  WithInvisible 

Definition at line 127 of file guide.h.

◆ GetProgramList

QObject* ScriptableGuide::GetProgramList ( int  StartIndex,
int  Count,
const QDateTime &  StartTime,
const QDateTime &  EndTime,
int  ChanId,
const QString &  TitleFilter,
const QString &  CategoryFilter,
const QString &  PersonFilter,
const QString &  KeywordFilter,
bool  OnlyNew,
bool  Details,
const QString &  Sort,
bool  Descending,
bool  WithInvisible 

Definition at line 142 of file guide.h.

◆ GetProgramDetails

QObject* ScriptableGuide::GetProgramDetails ( int  ChanId,
const QDateTime &  StartTime 

Definition at line 167 of file guide.h.

◆ GetChannelGroupList

QObject* ScriptableGuide::GetChannelGroupList ( bool  IncludeEmpty = false)

Definition at line 179 of file guide.h.

◆ GetCategoryList

QStringList ScriptableGuide::GetCategoryList ( )

Definition at line 186 of file guide.h.

◆ GetStoredSearches

QStringList ScriptableGuide::GetStoredSearches ( const QString &  Type)

Definition at line 193 of file guide.h.

◆ AddToChannelGroup

bool ScriptableGuide::AddToChannelGroup ( int  ChannelGroupId,
int  ChanId 

Definition at line 200 of file guide.h.

◆ RemoveFromChannelGroup

bool ScriptableGuide::RemoveFromChannelGroup ( int  ChannelGroupId,
int  ChanId 

Definition at line 208 of file guide.h.

Member Data Documentation

◆ m_obj

Guide ScriptableGuide::m_obj

◆ m_pEngine

QScriptEngine* ScriptableGuide::m_pEngine

Definition at line 116 of file guide.h.

Referenced by ScriptableGuide().

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