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

#include <video.h>

Inheritance diagram for ScriptableVideo:
Inheritance graph
Collaboration diagram for ScriptableVideo:
Collaboration graph

Public Slots

QObject * GetVideoList (const QString &Folder, const QString &Sort, bool Descending, int StartIndex, int Count)
QObject * GetVideo (int Id)
QObject * GetVideoByFileName (const QString &FileName)
QObject * LookupVideo (const QString &Title, const QString &Subtitle, const QString &Inetref, int Season, int Episode, const QString &GrabberType, bool AllowGeneric)
bool RemoveVideoFromDB (int Id)
bool AddVideo (const QString &FileName, const QString &HostName)

Public Member Functions

Q_INVOKABLE ScriptableVideo (QScriptEngine *pEngine, QObject *parent=0)

Private Attributes

Video m_obj
QScriptEngine * m_pEngine

Detailed Description

Definition at line 94 of file video.h.

Constructor & Destructor Documentation

§ ScriptableVideo()

Q_INVOKABLE ScriptableVideo::ScriptableVideo ( QScriptEngine *  pEngine,
QObject *  parent = 0 

Definition at line 105 of file video.h.

Member Function Documentation

§ GetVideoList

QObject* ScriptableVideo::GetVideoList ( const QString &  Folder,
const QString &  Sort,
bool  Descending,
int  StartIndex,
int  Count 

Definition at line 112 of file video.h.

§ GetVideo

QObject* ScriptableVideo::GetVideo ( int  Id)

Definition at line 124 of file video.h.

§ GetVideoByFileName

QObject* ScriptableVideo::GetVideoByFileName ( const QString &  FileName)

Definition at line 131 of file video.h.

§ LookupVideo

QObject* ScriptableVideo::LookupVideo ( const QString &  Title,
const QString &  Subtitle,
const QString &  Inetref,
int  Season,
int  Episode,
const QString &  GrabberType,
bool  AllowGeneric 

Definition at line 138 of file video.h.

§ RemoveVideoFromDB

bool ScriptableVideo::RemoveVideoFromDB ( int  Id)

Definition at line 153 of file video.h.

§ AddVideo

bool ScriptableVideo::AddVideo ( const QString &  FileName,
const QString &  HostName 

Definition at line 160 of file video.h.

Member Data Documentation

§ m_obj

Video ScriptableVideo::m_obj

Definition at line 100 of file video.h.

§ m_pEngine

QScriptEngine* ScriptableVideo::m_pEngine

Definition at line 101 of file video.h.

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