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)
 
bool HAS_PARAM (const QString &p) const
 

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

◆ GetHostName()

QString Myth::GetHostName ( )
overridevirtual

Implements MythServices.

Definition at line 137 of file myth.cpp.

◆ GetHosts()

QStringList Myth::GetHosts ( )
overridevirtual

Implements MythServices.

Definition at line 148 of file myth.cpp.

◆ GetKeys()

QStringList Myth::GetKeys ( )
overridevirtual

Implements MythServices.

Definition at line 183 of file myth.cpp.

◆ GetStorageGroupDirs()

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

Implements MythServices.

Definition at line 217 of file myth.cpp.

◆ AddStorageGroupDir()

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

Implements MythServices.

Definition at line 297 of file myth.cpp.

◆ RemoveStorageGroupDir()

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

Implements MythServices.

Definition at line 359 of file myth.cpp.

◆ GetTimeZone()

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

Implements MythServices.

Definition at line 400 of file myth.cpp.

◆ GetFormatDate()

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

Implements MythServices.

Definition at line 415 of file myth.cpp.

◆ GetFormatDateTime()

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

Implements MythServices.

Definition at line 428 of file myth.cpp.

◆ GetFormatTime()

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

Implements MythServices.

Definition at line 441 of file myth.cpp.

◆ ParseISODateString()

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

Implements MythServices.

Definition at line 450 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 464 of file myth.cpp.

◆ GetFrontends()

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

Implements MythServices.

Definition at line 597 of file myth.cpp.

◆ GetSetting()

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

Implements MythServices.

Definition at line 624 of file myth.cpp.

◆ GetSettingList()

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

Implements MythServices.

Definition at line 662 of file myth.cpp.

◆ PutSetting()

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

Implements MythServices.

Definition at line 715 of file myth.cpp.

◆ ChangePassword()

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

Implements MythServices.

Definition at line 731 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 746 of file myth.cpp.

◆ SendMessage()

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

Implements MythServices.

Definition at line 772 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 826 of file myth.cpp.

◆ BackupDatabase()

bool Myth::BackupDatabase ( void  )
overridevirtual

Implements MythServices.

Definition at line 904 of file myth.cpp.

◆ CheckDatabase()

bool Myth::CheckDatabase ( bool  Repair)
overridevirtual

Implements MythServices.

Definition at line 931 of file myth.cpp.

◆ DelayShutdown()

bool Myth::DelayShutdown ( void  )
overridevirtual

Implements MythServices.

Definition at line 945 of file myth.cpp.

◆ ProfileSubmit()

bool Myth::ProfileSubmit ( void  )
overridevirtual

Implements MythServices.

Definition at line 959 of file myth.cpp.

◆ ProfileDelete()

bool Myth::ProfileDelete ( void  )
overridevirtual

Implements MythServices.

Definition at line 975 of file myth.cpp.

◆ ProfileURL()

QString Myth::ProfileURL ( void  )
overridevirtual

Implements MythServices.

Definition at line 991 of file myth.cpp.

◆ ProfileUpdated()

QString Myth::ProfileUpdated ( void  )
overridevirtual

Implements MythServices.

Definition at line 1007 of file myth.cpp.

◆ ProfileText()

QString Myth::ProfileText ( void  )
overridevirtual

Implements MythServices.

Definition at line 1025 of file myth.cpp.

◆ GetBackendInfo()

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

Implements MythServices.

Definition at line 1039 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 1073 of file myth.cpp.

Referenced by ChangePassword().

◆ ManageUrlProtection()

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

Implements MythServices.

Definition at line 1105 of file myth.cpp.


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