MythTV  master
Public Slots | Public Member Functions | Private Member Functions | List of all members
MythServices Class Referenceabstract

#include <mythServices.h>

Inheritance diagram for MythServices:
Inheritance graph
[legend]
Collaboration diagram for MythServices:
Collaboration graph
[legend]

Public Slots

virtual DTC::ConnectionInfoGetConnectionInfo (const QString &Pin)=0
 
virtual QString GetHostName ()=0
 
virtual QStringList GetHosts ()=0
 
virtual QStringList GetKeys ()=0
 
virtual DTC::StorageGroupDirListGetStorageGroupDirs (const QString &GroupName, const QString &HostName)=0
 
virtual bool AddStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName)=0
 
virtual bool RemoveStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName)=0
 
virtual DTC::TimeZoneInfoGetTimeZone ()=0
 
virtual QString GetFormatDate (const QDateTime Date, bool ShortDate)=0
 
virtual QString GetFormatDateTime (const QDateTime DateTime, bool ShortDate)=0
 
virtual QString GetFormatTime (const QDateTime Time)=0
 
virtual QDateTime ParseISODateString (const QString &DateTime)=0
 
virtual 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)=0
 
virtual DTC::FrontendListGetFrontends (bool OnLine)=0
 
virtual QString GetSetting (const QString &HostName, const QString &Key, const QString &Default)=0
 
virtual DTC::SettingListGetSettingList (const QString &HostName)=0
 
virtual bool PutSetting (const QString &HostName, const QString &Key, const QString &Value)=0
 
virtual bool ChangePassword (const QString &UserName, const QString &OldPassword, const QString &NewPassword)=0
 
virtual bool TestDBSettings (const QString &HostName, const QString &UserName, const QString &Password, const QString &DBName, int dbPort)=0
 
virtual bool SendMessage (const QString &Message, const QString &Address, int udpPort, int Timeout)=0
 
virtual 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 Timeout, bool Fullscreen, uint Visibility, uint Priority, const QString &Address, int udpPort)=0
 
virtual bool BackupDatabase (void)=0
 
virtual bool CheckDatabase (bool Repair)=0
 
virtual bool DelayShutdown (void)=0
 
virtual bool ProfileSubmit (void)=0
 
virtual bool ProfileDelete (void)=0
 
virtual QString ProfileURL (void)=0
 
virtual QString ProfileUpdated (void)=0
 
virtual QString ProfileText (void)=0
 
virtual DTC::BackendInfoGetBackendInfo (void)=0
 
virtual bool ManageDigestUser (const QString &Action, const QString &UserName, const QString &Password, const QString &NewPassword, const QString &AdminPassword)=0
 
virtual bool ManageUrlProtection (const QString &Services, const QString &AdminPassword)=0
 

Public Member Functions

 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)
 

Private Member Functions

 Q_CLASSINFO ("version", "5.2")
 

Additional Inherited Members

- 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 44 of file mythServices.h.

Constructor & Destructor Documentation

◆ MythServices()

MythServices::MythServices ( QObject *  parent = nullptr)
inline

Definition at line 68 of file mythServices.h.

Member Function Documentation

◆ Q_CLASSINFO()

MythServices::Q_CLASSINFO ( "version"  ,
"5.2"   
)
private

◆ GetConnectionInfo

virtual DTC::ConnectionInfo* MythServices::GetConnectionInfo ( const QString &  Pin)
pure virtualslot

Implemented in Myth.

◆ GetHostName

virtual QString MythServices::GetHostName ( )
pure virtualslot

Implemented in Myth.

◆ GetHosts

virtual QStringList MythServices::GetHosts ( )
pure virtualslot

Implemented in Myth.

◆ GetKeys

virtual QStringList MythServices::GetKeys ( )
pure virtualslot

Implemented in Myth.

◆ GetStorageGroupDirs

virtual DTC::StorageGroupDirList* MythServices::GetStorageGroupDirs ( const QString &  GroupName,
const QString &  HostName 
)
pure virtualslot

Implemented in Myth.

◆ AddStorageGroupDir

virtual bool MythServices::AddStorageGroupDir ( const QString &  GroupName,
const QString &  DirName,
const QString &  HostName 
)
pure virtualslot

Implemented in Myth.

◆ RemoveStorageGroupDir

virtual bool MythServices::RemoveStorageGroupDir ( const QString &  GroupName,
const QString &  DirName,
const QString &  HostName 
)
pure virtualslot

Implemented in Myth.

◆ GetTimeZone

virtual DTC::TimeZoneInfo* MythServices::GetTimeZone ( )
pure virtualslot

Implemented in Myth.

◆ GetFormatDate

virtual QString MythServices::GetFormatDate ( const QDateTime  Date,
bool  ShortDate 
)
pure virtualslot

Implemented in Myth.

◆ GetFormatDateTime

virtual QString MythServices::GetFormatDateTime ( const QDateTime  DateTime,
bool  ShortDate 
)
pure virtualslot

Implemented in Myth.

◆ GetFormatTime

virtual QString MythServices::GetFormatTime ( const QDateTime  Time)
pure virtualslot

Implemented in Myth.

◆ ParseISODateString

virtual QDateTime MythServices::ParseISODateString ( const QString &  DateTime)
pure virtualslot

Implemented in Myth.

◆ GetLogs

virtual DTC::LogMessageList* MythServices::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 
)
pure virtualslot

Implemented in Myth.

◆ GetFrontends

virtual DTC::FrontendList* MythServices::GetFrontends ( bool  OnLine)
pure virtualslot

Implemented in Myth.

◆ GetSetting

virtual QString MythServices::GetSetting ( const QString &  HostName,
const QString &  Key,
const QString &  Default 
)
pure virtualslot

Implemented in Myth.

◆ GetSettingList

virtual DTC::SettingList* MythServices::GetSettingList ( const QString &  HostName)
pure virtualslot

Implemented in Myth.

◆ PutSetting

virtual bool MythServices::PutSetting ( const QString &  HostName,
const QString &  Key,
const QString &  Value 
)
pure virtualslot

Implemented in Myth.

◆ ChangePassword

virtual bool MythServices::ChangePassword ( const QString &  UserName,
const QString &  OldPassword,
const QString &  NewPassword 
)
pure virtualslot

Implemented in Myth.

◆ TestDBSettings

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

Implemented in Myth.

◆ SendMessage

virtual bool MythServices::SendMessage ( const QString &  Message,
const QString &  Address,
int  udpPort,
int  Timeout 
)
pure virtualslot

Implemented in Myth.

◆ SendNotification

virtual bool MythServices::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  Timeout,
bool  Fullscreen,
uint  Visibility,
uint  Priority,
const QString &  Address,
int  udpPort 
)
pure virtualslot

Implemented in Myth.

◆ BackupDatabase

virtual bool MythServices::BackupDatabase ( void  )
pure virtualslot

Implemented in Myth.

◆ CheckDatabase

virtual bool MythServices::CheckDatabase ( bool  Repair)
pure virtualslot

Implemented in Myth.

◆ DelayShutdown

virtual bool MythServices::DelayShutdown ( void  )
pure virtualslot

Implemented in Myth.

◆ ProfileSubmit

virtual bool MythServices::ProfileSubmit ( void  )
pure virtualslot

Implemented in Myth.

◆ ProfileDelete

virtual bool MythServices::ProfileDelete ( void  )
pure virtualslot

Implemented in Myth.

◆ ProfileURL

virtual QString MythServices::ProfileURL ( void  )
pure virtualslot

Implemented in Myth.

◆ ProfileUpdated

virtual QString MythServices::ProfileUpdated ( void  )
pure virtualslot

Implemented in Myth.

◆ ProfileText

virtual QString MythServices::ProfileText ( void  )
pure virtualslot

Implemented in Myth.

◆ GetBackendInfo

virtual DTC::BackendInfo* MythServices::GetBackendInfo ( void  )
pure virtualslot

Implemented in Myth.

◆ ManageDigestUser

virtual bool MythServices::ManageDigestUser ( const QString &  Action,
const QString &  UserName,
const QString &  Password,
const QString &  NewPassword,
const QString &  AdminPassword 
)
pure virtualslot

Implemented in Myth.

◆ ManageUrlProtection

virtual bool MythServices::ManageUrlProtection ( const QString &  Services,
const QString &  AdminPassword 
)
pure virtualslot

Implemented in Myth.


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