MythTV  0.28pre
 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 ()
 
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::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 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)
 

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().

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

Implements MythServices.

Definition at line 384 of file myth.cpp.

Referenced by ScriptableMyth::GetFormatDate().

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

Implements MythServices.

Definition at line 399 of file myth.cpp.

Referenced by ScriptableMyth::GetFormatDateTime().

QString Myth::GetFormatTime ( const QDateTime  Time)
virtual

Implements MythServices.

Definition at line 414 of file myth.cpp.

Referenced by ScriptableMyth::GetFormatTime().

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

Implements MythServices.

Definition at line 423 of file myth.cpp.

Referenced by ScriptableMyth::ParseISODateString().

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 437 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 566 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 674 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 695 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 748 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 774 of file myth.cpp.

Referenced by ScriptableMyth::SendMessage().

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

bool Myth::BackupDatabase ( void  )
virtual

Implements MythServices.

Definition at line 905 of file myth.cpp.

Referenced by ScriptableMyth::BackupDatabase().

bool Myth::CheckDatabase ( bool  Repair)
virtual

Implements MythServices.

Definition at line 935 of file myth.cpp.

Referenced by ScriptableMyth::CheckDatabase().

bool Myth::ProfileSubmit ( void  )
virtual

Implements MythServices.

Definition at line 960 of file myth.cpp.

Referenced by ScriptableMyth::ProfileSubmit().

bool Myth::ProfileDelete ( void  )
virtual

Implements MythServices.

Definition at line 982 of file myth.cpp.

Referenced by ScriptableMyth::ProfileDelete().

QString Myth::ProfileURL ( void  )
virtual

Implements MythServices.

Definition at line 1004 of file myth.cpp.

Referenced by ScriptableMyth::ProfileURL().

QString Myth::ProfileUpdated ( void  )
virtual

Implements MythServices.

Definition at line 1024 of file myth.cpp.

Referenced by ScriptableMyth::ProfileUpdated().

QString Myth::ProfileText ( void  )
virtual

Implements MythServices.

Definition at line 1046 of file myth.cpp.

Referenced by ScriptableMyth::ProfileText().


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