Myth Class Reference

#include <myth.h>

Inheritance diagram for Myth:
MythServices Service

List of all members.

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)

Detailed Description

Definition at line 29 of file myth.h.


Constructor & Destructor Documentation

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

Definition at line 35 of file myth.h.


Member Function Documentation

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

Implements MythServices.

Definition at line 43 of file myth.cpp.

Referenced by ScriptableMyth::GetConnectionInfo().

QString Myth::GetHostName ( void   )  [virtual]

Implements MythServices.

Definition at line 112 of file myth.cpp.

Referenced by ScriptableMyth::GetHostName().

QStringList Myth::GetHosts (  )  [virtual]

Implements MythServices.

Definition at line 123 of file myth.cpp.

Referenced by ScriptableMyth::GetHosts().

QStringList Myth::GetKeys (  )  [virtual]

Implements MythServices.

Definition at line 158 of file myth.cpp.

Referenced by ScriptableMyth::GetKeys().

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

Implements MythServices.

Definition at line 192 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 261 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 323 of file myth.cpp.

Referenced by ScriptableMyth::RemoveStorageGroupDir().

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

Implements MythServices.

Definition at line 364 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 379 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 508 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 616 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 637 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 690 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 716 of file myth.cpp.

Referenced by ScriptableMyth::SendMessage().

bool Myth::BackupDatabase ( void   )  [virtual]

Implements MythServices.

Definition at line 773 of file myth.cpp.

Referenced by ScriptableMyth::BackupDatabase().

bool Myth::CheckDatabase ( bool  Repair  )  [virtual]

Implements MythServices.

Definition at line 803 of file myth.cpp.

Referenced by ScriptableMyth::CheckDatabase().

bool Myth::ProfileSubmit ( void   )  [virtual]

Implements MythServices.

Definition at line 828 of file myth.cpp.

Referenced by ScriptableMyth::ProfileSubmit().

bool Myth::ProfileDelete ( void   )  [virtual]

Implements MythServices.

Definition at line 850 of file myth.cpp.

Referenced by ScriptableMyth::ProfileDelete().

QString Myth::ProfileURL ( void   )  [virtual]

Implements MythServices.

Definition at line 872 of file myth.cpp.

Referenced by ScriptableMyth::ProfileURL().

QString Myth::ProfileUpdated ( void   )  [virtual]

Implements MythServices.

Definition at line 892 of file myth.cpp.

Referenced by ScriptableMyth::ProfileUpdated().

QString Myth::ProfileText ( void   )  [virtual]

Implements MythServices.

Definition at line 914 of file myth.cpp.

Referenced by ScriptableMyth::ProfileText().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:14 2012 for MythTV by  doxygen 1.6.3