MythTV  master
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=nullptr)
 
DTC::ConnectionInfoGetConnectionInfo (const QString &Pin) override
 
QString GetHostName () override
 
QStringList GetHosts () override
 
QStringList GetKeys () override
 
DTC::StorageGroupDirListGetStorageGroupDirs (const QString &GroupName, const QString &HostName) override
 
bool AddStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName) override
 
bool RemoveStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName) override
 
DTC::TimeZoneInfoGetTimeZone () override
 
QString GetFormatDate (const QDateTime &Date, bool ShortDate) override
 
QString GetFormatDateTime (const QDateTime &DateTime, bool ShortDate) override
 
QString GetFormatTime (const QDateTime &Time) override
 
QDateTime ParseISODateString (const QString &DateTime) override
 
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) override
 
DTC::FrontendListGetFrontends (bool OnLine) override
 
QString GetSetting (const QString &HostName, const QString &Key, const QString &Default) override
 
DTC::SettingListGetSettingList (const QString &HostName) override
 
bool PutSetting (const QString &HostName, const QString &Key, const QString &Value) override
 
bool ChangePassword (const QString &UserName, const QString &OldPassword, const QString &NewPassword) override
 
bool TestDBSettings (const QString &HostName, const QString &UserName, const QString &Password, const QString &DBName, int dbPort) override
 
bool SendMessage (const QString &Message, const QString &Address, int udpPort, int Timeout) override
 
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) override
 
bool BackupDatabase (void) override
 
bool CheckDatabase (bool Repair) override
 
bool DelayShutdown (void) override
 
bool ProfileSubmit (void) override
 
bool ProfileDelete (void) override
 
QString ProfileURL (void) override
 
QString ProfileUpdated (void) override
 
QString ProfileText (void) override
 
DTC::BackendInfoGetBackendInfo (void) override
 
bool ManageDigestUser (const QString &Action, const QString &UserName, const QString &Password, const QString &NewPassword, const QString &AdminPassword) override
 
bool ManageUrlProtection (const QString &Services, const QString &AdminPassword) override
 
- Public Member Functions inherited from MythServices
 MythServices (QObject *parent=nullptr)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=nullptr)
 
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)
 
- Public Attributes inherited from Service
QList< QString > m_parsedParams
 

Detailed Description

Definition at line 37 of file myth.h.

Constructor & Destructor Documentation

◆ Myth()

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

Definition at line 43 of file myth.h.

Member Function Documentation

◆ GetConnectionInfo()

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

Implements MythServices.

Definition at line 60 of file myth.cpp.

◆ GetHostName()

QString Myth::GetHostName ( )
overridevirtual

Implements MythServices.

Definition at line 141 of file myth.cpp.

◆ GetHosts()

QStringList Myth::GetHosts ( )
overridevirtual

Implements MythServices.

Definition at line 152 of file myth.cpp.

◆ GetKeys()

QStringList Myth::GetKeys ( )
overridevirtual

Implements MythServices.

Definition at line 187 of file myth.cpp.

◆ GetStorageGroupDirs()

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

Implements MythServices.

Definition at line 221 of file myth.cpp.

◆ AddStorageGroupDir()

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

Implements MythServices.

Definition at line 301 of file myth.cpp.

◆ RemoveStorageGroupDir()

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

Implements MythServices.

Definition at line 363 of file myth.cpp.

◆ GetTimeZone()

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

Implements MythServices.

Definition at line 404 of file myth.cpp.

◆ GetFormatDate()

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

Implements MythServices.

Definition at line 419 of file myth.cpp.

◆ GetFormatDateTime()

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

Implements MythServices.

Definition at line 432 of file myth.cpp.

◆ GetFormatTime()

QString Myth::GetFormatTime ( const QDateTime &  Time)
overridevirtual

Implements MythServices.

Definition at line 445 of file myth.cpp.

◆ ParseISODateString()

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

Implements MythServices.

Definition at line 454 of file myth.cpp.

◆ 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 
)
overridevirtual

Implements MythServices.

Definition at line 468 of file myth.cpp.

◆ GetFrontends()

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

Implements MythServices.

Definition at line 601 of file myth.cpp.

◆ GetSetting()

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

Implements MythServices.

Definition at line 628 of file myth.cpp.

◆ GetSettingList()

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

Implements MythServices.

Definition at line 666 of file myth.cpp.

◆ PutSetting()

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

Implements MythServices.

Definition at line 719 of file myth.cpp.

◆ ChangePassword()

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

Implements MythServices.

Definition at line 735 of file myth.cpp.

◆ TestDBSettings()

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

Implements MythServices.

Definition at line 750 of file myth.cpp.

◆ SendMessage()

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

Implements MythServices.

Definition at line 776 of file myth.cpp.

◆ 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 
)
overridevirtual

Implements MythServices.

Definition at line 830 of file myth.cpp.

◆ BackupDatabase()

bool Myth::BackupDatabase ( void  )
overridevirtual

Implements MythServices.

Definition at line 908 of file myth.cpp.

◆ CheckDatabase()

bool Myth::CheckDatabase ( bool  Repair)
overridevirtual

Implements MythServices.

Definition at line 935 of file myth.cpp.

◆ DelayShutdown()

bool Myth::DelayShutdown ( void  )
overridevirtual

Implements MythServices.

Definition at line 949 of file myth.cpp.

◆ ProfileSubmit()

bool Myth::ProfileSubmit ( void  )
overridevirtual

Implements MythServices.

Definition at line 963 of file myth.cpp.

◆ ProfileDelete()

bool Myth::ProfileDelete ( void  )
overridevirtual

Implements MythServices.

Definition at line 979 of file myth.cpp.

◆ ProfileURL()

QString Myth::ProfileURL ( void  )
overridevirtual

Implements MythServices.

Definition at line 995 of file myth.cpp.

◆ ProfileUpdated()

QString Myth::ProfileUpdated ( void  )
overridevirtual

Implements MythServices.

Definition at line 1011 of file myth.cpp.

◆ ProfileText()

QString Myth::ProfileText ( void  )
overridevirtual

Implements MythServices.

Definition at line 1029 of file myth.cpp.

◆ GetBackendInfo()

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

Implements MythServices.

Definition at line 1043 of file myth.cpp.

◆ ManageDigestUser()

bool Myth::ManageDigestUser ( const QString &  Action,
const QString &  UserName,
const QString &  Password,
const QString &  NewPassword,
const QString &  AdminPassword 
)
overridevirtual

Implements MythServices.

Definition at line 1077 of file myth.cpp.

Referenced by ChangePassword().

◆ ManageUrlProtection()

bool Myth::ManageUrlProtection ( const QString &  Services,
const QString &  AdminPassword 
)
overridevirtual

Implements MythServices.

Definition at line 1109 of file myth.cpp.


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