MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
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 ()
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::SettingListGetSetting (const QString &HostName, const QString &Key, const QString &Default)
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 BackupDatabase (void)
bool CheckDatabase (bool Repair)
bool ProfileSubmit (void)
bool ProfileDelete (void)
QString ProfileURL (void)
QString ProfileUpdated (void)
QString ProfileText (void)

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 33 of file myth.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file myth.h.

Member Function Documentation

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

Implements MythServices.

Definition at line 48 of file myth.cpp.

Referenced by ScriptableMyth::GetConnectionInfo().

QString Myth::GetHostName ( void  )
virtual

Implements MythServices.

Definition at line 117 of file myth.cpp.

Referenced by ScriptableMyth::GetHostName().

QStringList Myth::GetHosts ( )
virtual

Implements MythServices.

Definition at line 128 of file myth.cpp.

Referenced by ScriptableMyth::GetHosts().

QStringList Myth::GetKeys ( )
virtual

Implements MythServices.

Definition at line 163 of file myth.cpp.

Referenced by ScriptableMyth::GetKeys().

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

Implements MythServices.

Definition at line 197 of file myth.cpp.

Referenced by ScriptableMyth::GetStorageGroupDirs().

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

Implements MythServices.

Definition at line 266 of file myth.cpp.

Referenced by ScriptableMyth::AddStorageGroupDir().

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

Implements MythServices.

Definition at line 328 of file myth.cpp.

Referenced by ScriptableMyth::RemoveStorageGroupDir().

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

Implements MythServices.

Definition at line 369 of file myth.cpp.

Referenced by ScriptableMyth::GetTimeZone().

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 384 of file myth.cpp.

Referenced by ScriptableMyth::GetLogs().

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

Implements MythServices.

Definition at line 513 of file myth.cpp.

Referenced by ScriptableMyth::GetSetting().

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

Implements MythServices.

Definition at line 621 of file myth.cpp.

Referenced by ScriptableMyth::PutSetting().

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

Implements MythServices.

Definition at line 642 of file myth.cpp.

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

Implements MythServices.

Definition at line 695 of file myth.cpp.

Referenced by ScriptableMyth::TestDBSettings().

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

Implements MythServices.

Definition at line 721 of file myth.cpp.

Referenced by ScriptableMyth::SendMessage().

bool Myth::BackupDatabase ( void  )
virtual

Implements MythServices.

Definition at line 778 of file myth.cpp.

Referenced by ScriptableMyth::BackupDatabase().

bool Myth::CheckDatabase ( bool  Repair)
virtual

Implements MythServices.

Definition at line 808 of file myth.cpp.

Referenced by ScriptableMyth::CheckDatabase().

bool Myth::ProfileSubmit ( void  )
virtual

Implements MythServices.

Definition at line 833 of file myth.cpp.

Referenced by ScriptableMyth::ProfileSubmit().

bool Myth::ProfileDelete ( void  )
virtual

Implements MythServices.

Definition at line 855 of file myth.cpp.

Referenced by ScriptableMyth::ProfileDelete().

QString Myth::ProfileURL ( void  )
virtual

Implements MythServices.

Definition at line 877 of file myth.cpp.

Referenced by ScriptableMyth::ProfileURL().

QString Myth::ProfileUpdated ( void  )
virtual

Implements MythServices.

Definition at line 897 of file myth.cpp.

Referenced by ScriptableMyth::ProfileUpdated().

QString Myth::ProfileText ( void  )
virtual

Implements MythServices.

Definition at line 919 of file myth.cpp.

Referenced by ScriptableMyth::ProfileText().


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