MythTV  0.28pre
Public Member Functions | List of all members
Myth Class Reference

#include <myth.h>

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

Public Member Functions

Q_INVOKABLE Myth (QObject *parent=0)
 
DTC::ConnectionInfoGetConnectionInfo (const QString &Pin)
 
QString GetHostName ()
 
QStringList GetHosts ()
 
QStringList GetKeys ()
 
DTC::StorageGroupDirListGetStorageGroupDirs (const QString &GroupName, const QString &HostName)
 
bool AddStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName)
 
bool RemoveStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName)
 
DTC::TimeZoneInfoGetTimeZone ()
 
QString GetFormatDate (const QDateTime Date, bool ShortDate)
 
QString GetFormatDateTime (const QDateTime DateTime, bool ShortDate)
 
QString GetFormatTime (const QDateTime Time)
 
QDateTime ParseISODateString (const QString &DateTime)
 
DTC::LogMessageListGetLogs (const QString &HostName, const QString &Application, int PID, int TID, const QString &Thread, const QString &Filename, int Line, const QString &Function, const QDateTime &FromTime, const QDateTime &ToTime, const QString &Level, const QString &MsgContains)
 
DTC::FrontendListGetFrontends (bool OnLine)
 
QString GetSetting (const QString &HostName, const QString &Key, const QString &Default)
 
DTC::SettingListGetSettingList (const QString &HostName)
 
bool PutSetting (const QString &HostName, const QString &Key, const QString &Value)
 
bool ChangePassword (const QString &UserName, const QString &OldPassword, const QString &NewPassword)
 
bool TestDBSettings (const QString &HostName, const QString &UserName, const QString &Password, const QString &DBName, int dbPort)
 
bool SendMessage (const QString &Message, const QString &Address, int udpPort, int Timeout)
 
bool SendNotification (bool Error, const QString &Type, const QString &Message, const QString &Origin, const QString &Description, const QString &Image, const QString &Extra, const QString &ProgressText, float Progress, int Duration, bool Fullscreen, uint Visibility, uint Priority, const QString &Address, int udpPort)
 
bool BackupDatabase (void)
 
bool CheckDatabase (bool Repair)
 
bool ProfileSubmit (void)
 
bool ProfileDelete (void)
 
QString ProfileURL (void)
 
QString ProfileUpdated (void)
 
QString ProfileText (void)
 
DTC::BackendInfoGetBackendInfo (void)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=NULL)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 

Additional Inherited Members

- Public Slots inherited from MythServices
- Static Public Member Functions inherited from Service
static bool ToBool (const QString &sVal)
 

Detailed Description

Definition at line 34 of file myth.h.

Constructor & Destructor Documentation

§ Myth()

Q_INVOKABLE Myth::Myth ( QObject *  parent = 0)
inlineexplicit

Definition at line 40 of file myth.h.

Member Function Documentation

§ GetConnectionInfo()

DTC::ConnectionInfo * Myth::GetConnectionInfo ( const QString &  Pin)
virtual

Implements MythServices.

Definition at line 53 of file myth.cpp.

Referenced by ScriptableMyth::GetConnectionInfo(), and Myth().

§ GetHostName()

QString Myth::GetHostName ( void  )
virtual

Implements MythServices.

Definition at line 122 of file myth.cpp.

Referenced by ScriptableMyth::GetHostName(), and Myth().

§ GetHosts()

QStringList Myth::GetHosts ( )
virtual

Implements MythServices.

Definition at line 133 of file myth.cpp.

Referenced by ScriptableMyth::GetHosts(), and Myth().

§ GetKeys()

QStringList Myth::GetKeys ( )
virtual

Implements MythServices.

Definition at line 168 of file myth.cpp.

Referenced by ScriptableMyth::GetKeys(), and Myth().

§ GetStorageGroupDirs()

DTC::StorageGroupDirList * Myth::GetStorageGroupDirs ( const QString &  GroupName,
const QString &  HostName 
)
virtual

Implements MythServices.

Definition at line 202 of file myth.cpp.

Referenced by ScriptableMyth::GetStorageGroupDirs(), and Myth().

§ AddStorageGroupDir()

bool Myth::AddStorageGroupDir ( const QString &  GroupName,
const QString &  DirName,
const QString &  HostName 
)
virtual

Implements MythServices.

Definition at line 278 of file myth.cpp.

Referenced by ScriptableMyth::AddStorageGroupDir(), and Myth().

§ RemoveStorageGroupDir()

bool Myth::RemoveStorageGroupDir ( const QString &  GroupName,
const QString &  DirName,
const QString &  HostName 
)
virtual

Implements MythServices.

Definition at line 340 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::RemoveStorageGroupDir().

§ GetTimeZone()

DTC::TimeZoneInfo * Myth::GetTimeZone ( )
virtual

Implements MythServices.

Definition at line 381 of file myth.cpp.

Referenced by ScriptableMyth::GetTimeZone(), and Myth().

§ GetFormatDate()

QString Myth::GetFormatDate ( const QDateTime  Date,
bool  ShortDate 
)
virtual

Implements MythServices.

Definition at line 396 of file myth.cpp.

Referenced by ScriptableMyth::GetFormatDate(), and Myth().

§ GetFormatDateTime()

QString Myth::GetFormatDateTime ( const QDateTime  DateTime,
bool  ShortDate 
)
virtual

Implements MythServices.

Definition at line 411 of file myth.cpp.

Referenced by ScriptableMyth::GetFormatDateTime(), and Myth().

§ GetFormatTime()

QString Myth::GetFormatTime ( const QDateTime  Time)
virtual

Implements MythServices.

Definition at line 426 of file myth.cpp.

Referenced by ScriptableMyth::GetFormatTime(), and Myth().

§ ParseISODateString()

QDateTime Myth::ParseISODateString ( const QString &  DateTime)
virtual

Implements MythServices.

Definition at line 435 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::ParseISODateString().

§ GetLogs()

DTC::LogMessageList * Myth::GetLogs ( const QString &  HostName,
const QString &  Application,
int  PID,
int  TID,
const QString &  Thread,
const QString &  Filename,
int  Line,
const QString &  Function,
const QDateTime &  FromTime,
const QDateTime &  ToTime,
const QString &  Level,
const QString &  MsgContains 
)
virtual

Implements MythServices.

Definition at line 449 of file myth.cpp.

Referenced by ScriptableMyth::GetLogs(), and Myth().

§ GetFrontends()

DTC::FrontendList * Myth::GetFrontends ( bool  OnLine)
virtual

Implements MythServices.

Definition at line 578 of file myth.cpp.

Referenced by ScriptableMyth::GetFrontends(), and Myth().

§ GetSetting()

QString Myth::GetSetting ( const QString &  HostName,
const QString &  Key,
const QString &  Default 
)
virtual

Implements MythServices.

Definition at line 606 of file myth.cpp.

Referenced by ScriptableMyth::GetSetting(), and Myth().

§ GetSettingList()

DTC::SettingList * Myth::GetSettingList ( const QString &  HostName)
virtual

Implements MythServices.

Definition at line 646 of file myth.cpp.

Referenced by ScriptableMyth::GetSettingList(), and Myth().

§ PutSetting()

bool Myth::PutSetting ( const QString &  HostName,
const QString &  Key,
const QString &  Value 
)
virtual

Implements MythServices.

Definition at line 699 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::PutSetting().

§ ChangePassword()

bool Myth::ChangePassword ( const QString &  UserName,
const QString &  OldPassword,
const QString &  NewPassword 
)
virtual

Implements MythServices.

Definition at line 720 of file myth.cpp.

Referenced by Myth().

§ TestDBSettings()

bool Myth::TestDBSettings ( const QString &  HostName,
const QString &  UserName,
const QString &  Password,
const QString &  DBName,
int  dbPort 
)
virtual

Implements MythServices.

Definition at line 773 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::TestDBSettings().

§ SendMessage()

bool Myth::SendMessage ( const QString &  Message,
const QString &  Address,
int  udpPort,
int  Timeout 
)
virtual

Implements MythServices.

Definition at line 799 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::SendMessage().

§ SendNotification()

bool Myth::SendNotification ( bool  Error,
const QString &  Type,
const QString &  Message,
const QString &  Origin,
const QString &  Description,
const QString &  Image,
const QString &  Extra,
const QString &  ProgressText,
float  Progress,
int  Duration,
bool  Fullscreen,
uint  Visibility,
uint  Priority,
const QString &  Address,
int  udpPort 
)
virtual

Implements MythServices.

Definition at line 852 of file myth.cpp.

Referenced by Myth().

§ BackupDatabase()

bool Myth::BackupDatabase ( void  )
virtual

Implements MythServices.

Definition at line 930 of file myth.cpp.

Referenced by ScriptableMyth::BackupDatabase(), and Myth().

§ CheckDatabase()

bool Myth::CheckDatabase ( bool  Repair)
virtual

Implements MythServices.

Definition at line 957 of file myth.cpp.

Referenced by ScriptableMyth::CheckDatabase(), and Myth().

§ ProfileSubmit()

bool Myth::ProfileSubmit ( void  )
virtual

Implements MythServices.

Definition at line 977 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::ProfileSubmit().

§ ProfileDelete()

bool Myth::ProfileDelete ( void  )
virtual

Implements MythServices.

Definition at line 995 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::ProfileDelete().

§ ProfileURL()

QString Myth::ProfileURL ( void  )
virtual

Implements MythServices.

Definition at line 1013 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::ProfileURL().

§ ProfileUpdated()

QString Myth::ProfileUpdated ( void  )
virtual

Implements MythServices.

Definition at line 1029 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::ProfileUpdated().

§ ProfileText()

QString Myth::ProfileText ( void  )
virtual

Implements MythServices.

Definition at line 1047 of file myth.cpp.

Referenced by Myth(), and ScriptableMyth::ProfileText().

§ GetBackendInfo()

DTC::BackendInfo * Myth::GetBackendInfo ( void  )
virtual

Implements MythServices.

Definition at line 1061 of file myth.cpp.

Referenced by ScriptableMyth::GetBackendInfo(), and Myth().


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