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

#include <video.h>

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

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 
)
inline

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 
)
inlineslot

Definition at line 112 of file video.h.

QObject* ScriptableVideo::GetVideo ( int  Id)
inlineslot

Definition at line 124 of file video.h.

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

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 
)
inlineslot

Definition at line 138 of file video.h.

bool ScriptableVideo::RemoveVideoFromDB ( int  Id)
inlineslot

Definition at line 153 of file video.h.

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

Definition at line 160 of file video.h.

Member Data Documentation

Video ScriptableVideo::m_obj
private

Definition at line 100 of file video.h.

QScriptEngine* ScriptableVideo::m_pEngine
private

Definition at line 101 of file video.h.


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