MythTV  0.28pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Modules Pages
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

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

Definition at line 105 of file video.h.

Member Function Documentation

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

Definition at line 112 of file video.h.

QObject* ScriptableVideo::GetVideo ( int  Id)

Definition at line 124 of file video.h.

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

Definition at line 131 of file video.h.

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.

bool ScriptableVideo::RemoveVideoFromDB ( int  Id)

Definition at line 153 of file video.h.

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

Definition at line 160 of file video.h.

Member Data Documentation

Video ScriptableVideo::m_obj

Definition at line 100 of file video.h.

QScriptEngine* ScriptableVideo::m_pEngine

Definition at line 101 of file video.h.

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