MythTV  master
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
V2Myth Class Reference

#include <v2myth.h>

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

Public Slots

static V2ConnectionInfoGetConnectionInfo (const QString &Pin)
 
static bool SetConnectionInfo (const QString &Host, const QString &UserName, const QString &Password, const QString &Name, int Port, bool DoTest)
 
static QString GetHostName ()
 
static QStringList GetHosts ()
 
static QStringList GetKeys ()
 
static QStringList GetDirListing (const QString &DirName, bool Files)
 
static V2StorageGroupDirListGetStorageGroupDirs (const QString &GroupName, const QString &HostName)
 
static bool AddStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName)
 
static bool RemoveStorageGroupDir (const QString &GroupName, const QString &DirName, const QString &HostName)
 
static V2TimeZoneInfoGetTimeZone ()
 
static QString GetFormatDate (const QDateTime &Date, bool ShortDate)
 
static QString GetFormatDateTime (const QDateTime &DateTime, bool ShortDate)
 
static QString GetFormatTime (const QDateTime &Time)
 
static QDateTime ParseISODateString (const QString &DateTime)
 
static V2LogMessageListGetLogs (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)
 
static V2FrontendListGetFrontends (bool OnLine)
 
static QString GetSetting (const QString &HostName, const QString &Key, const QString &Default)
 
static V2SettingListGetSettingList (const QString &HostName)
 
static bool PutSetting (const QString &HostName, const QString &Key, const QString &Value)
 
static bool DeleteSetting (const QString &HostName, const QString &Key)
 
static bool TestDBSettings (const QString &HostName, const QString &UserName, const QString &Password, const QString &DBName, int dbPort)
 
static bool SendMessage (const QString &Message, const QString &Address, int udpPort, int Timeout)
 
static 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)
 
static bool BackupDatabase (void)
 
static bool CheckDatabase (bool Repair)
 
static bool DelayShutdown (void)
 
static bool ProfileSubmit (void)
 
static bool ProfileDelete (void)
 
static QString ProfileURL (void)
 
static QString ProfileUpdated (void)
 
static QString ProfileText (void)
 
static V2BackendInfoGetBackendInfo (void)
 
static bool ManageDigestUser (const QString &Action, const QString &UserName, const QString &Password, const QString &NewPassword, const QString &AdminPassword)
 
static bool ManageUrlProtection (const QString &Services, const QString &AdminPassword)
 
static bool ManageScheduler (bool Enable, bool Disable)
 
static bool Shutdown (int Retcode, bool Restart)
 
static QString Proxy (const QString &Url)
 

Public Member Functions

 V2Myth ()
 
 ~V2Myth () override=default
 
- Public Member Functions inherited from MythHTTPService
 MythHTTPService (MythHTTPMetaService *MetaService)
 
 ~MythHTTPService () override=default
 
virtual HTTPResponse HTTPRequest (const HTTPRequest2 &Request)
 Respond to a valid HTTPRequest. More...
 
QString & Name ()
 

Static Public Member Functions

static void RegisterCustomTypes ()
 
- Static Public Member Functions inherited from MythHTTPService
template<class T >
static HTTPServicePtr Create ()
 

Additional Inherited Members

- Protected Member Functions inherited from MythHTTPService
bool HAS_PARAMv2 (const QString &p)
 
- Protected Attributes inherited from MythHTTPService
QString m_name
 
MythHTTPMetaServicem_staticMetaService { nullptr }
 
HTTPRequest2 m_request {nullptr}
 

Detailed Description

Definition at line 19 of file v2myth.h.

Constructor & Destructor Documentation

◆ V2Myth()

V2Myth::V2Myth ( )

Definition at line 60 of file v2myth.cpp.

◆ ~V2Myth()

V2Myth::~V2Myth ( )
overridedefault

Member Function Documentation

◆ RegisterCustomTypes()

static void V2Myth::RegisterCustomTypes ( )
static

◆ GetConnectionInfo

V2ConnectionInfo * V2Myth::GetConnectionInfo ( const QString &  Pin)
staticslot

Definition at line 69 of file v2myth.cpp.

◆ SetConnectionInfo

bool V2Myth::SetConnectionInfo ( const QString &  Host,
const QString &  UserName,
const QString &  Password,
const QString &  Name,
int  Port,
bool  DoTest 
)
staticslot

Definition at line 149 of file v2myth.cpp.

◆ GetHostName

QString V2Myth::GetHostName ( )
staticslot

Definition at line 187 of file v2myth.cpp.

◆ GetHosts

QStringList V2Myth::GetHosts ( )
staticslot

Definition at line 199 of file v2myth.cpp.

◆ GetKeys

QStringList V2Myth::GetKeys ( )
staticslot

Definition at line 234 of file v2myth.cpp.

◆ GetDirListing

QStringList V2Myth::GetDirListing ( const QString &  DirName,
bool  Files 
)
staticslot

Definition at line 268 of file v2myth.cpp.

◆ GetStorageGroupDirs

V2StorageGroupDirList * V2Myth::GetStorageGroupDirs ( const QString &  GroupName,
const QString &  HostName 
)
staticslot

Definition at line 283 of file v2myth.cpp.

◆ AddStorageGroupDir

bool V2Myth::AddStorageGroupDir ( const QString &  GroupName,
const QString &  DirName,
const QString &  HostName 
)
staticslot

Definition at line 363 of file v2myth.cpp.

◆ RemoveStorageGroupDir

bool V2Myth::RemoveStorageGroupDir ( const QString &  GroupName,
const QString &  DirName,
const QString &  HostName 
)
staticslot

Definition at line 425 of file v2myth.cpp.

◆ GetTimeZone

V2TimeZoneInfo * V2Myth::GetTimeZone ( )
staticslot

Definition at line 466 of file v2myth.cpp.

◆ GetFormatDate

QString V2Myth::GetFormatDate ( const QDateTime &  Date,
bool  ShortDate 
)
staticslot

Definition at line 481 of file v2myth.cpp.

◆ GetFormatDateTime

QString V2Myth::GetFormatDateTime ( const QDateTime &  DateTime,
bool  ShortDate 
)
staticslot

Definition at line 494 of file v2myth.cpp.

◆ GetFormatTime

QString V2Myth::GetFormatTime ( const QDateTime &  Time)
staticslot

Definition at line 507 of file v2myth.cpp.

◆ ParseISODateString

QDateTime V2Myth::ParseISODateString ( const QString &  DateTime)
staticslot

Definition at line 516 of file v2myth.cpp.

◆ GetLogs

V2LogMessageList * V2Myth::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 
)
staticslot

Definition at line 530 of file v2myth.cpp.

◆ GetFrontends

V2FrontendList * V2Myth::GetFrontends ( bool  OnLine)
staticslot

Definition at line 663 of file v2myth.cpp.

◆ GetSetting

QString V2Myth::GetSetting ( const QString &  HostName,
const QString &  Key,
const QString &  Default 
)
staticslot

Definition at line 676 of file v2myth.cpp.

◆ GetSettingList

V2SettingList * V2Myth::GetSettingList ( const QString &  HostName)
staticslot

Definition at line 714 of file v2myth.cpp.

◆ PutSetting

bool V2Myth::PutSetting ( const QString &  HostName,
const QString &  Key,
const QString &  Value 
)
staticslot

Definition at line 766 of file v2myth.cpp.

◆ DeleteSetting

bool V2Myth::DeleteSetting ( const QString &  HostName,
const QString &  Key 
)
staticslot

Definition at line 787 of file v2myth.cpp.

◆ TestDBSettings

bool V2Myth::TestDBSettings ( const QString &  HostName,
const QString &  UserName,
const QString &  Password,
const QString &  DBName,
int  dbPort 
)
staticslot

Definition at line 808 of file v2myth.cpp.

◆ SendMessage

bool V2Myth::SendMessage ( const QString &  Message,
const QString &  Address,
int  udpPort,
int  Timeout 
)
staticslot

Definition at line 834 of file v2myth.cpp.

◆ SendNotification

bool V2Myth::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 
)
staticslot

Definition at line 888 of file v2myth.cpp.

◆ BackupDatabase

bool V2Myth::BackupDatabase ( void  )
staticslot

Definition at line 966 of file v2myth.cpp.

◆ CheckDatabase

bool V2Myth::CheckDatabase ( bool  Repair)
staticslot

Definition at line 993 of file v2myth.cpp.

◆ DelayShutdown

bool V2Myth::DelayShutdown ( void  )
staticslot

Definition at line 1007 of file v2myth.cpp.

◆ ProfileSubmit

bool V2Myth::ProfileSubmit ( void  )
staticslot

Definition at line 1021 of file v2myth.cpp.

◆ ProfileDelete

bool V2Myth::ProfileDelete ( void  )
staticslot

Definition at line 1037 of file v2myth.cpp.

◆ ProfileURL

QString V2Myth::ProfileURL ( void  )
staticslot

Definition at line 1053 of file v2myth.cpp.

◆ ProfileUpdated

QString V2Myth::ProfileUpdated ( void  )
staticslot

Definition at line 1069 of file v2myth.cpp.

◆ ProfileText

QString V2Myth::ProfileText ( void  )
staticslot

Definition at line 1087 of file v2myth.cpp.

◆ GetBackendInfo

V2BackendInfo * V2Myth::GetBackendInfo ( void  )
staticslot

Definition at line 1101 of file v2myth.cpp.

◆ ManageDigestUser

bool V2Myth::ManageDigestUser ( const QString &  Action,
const QString &  UserName,
const QString &  Password,
const QString &  NewPassword,
const QString &  AdminPassword 
)
staticslot

Definition at line 1166 of file v2myth.cpp.

◆ ManageUrlProtection

bool V2Myth::ManageUrlProtection ( const QString &  Services,
const QString &  AdminPassword 
)
staticslot

Definition at line 1198 of file v2myth.cpp.

◆ ManageScheduler

bool V2Myth::ManageScheduler ( bool  Enable,
bool  Disable 
)
staticslot

Definition at line 1256 of file v2myth.cpp.

◆ Shutdown

bool V2Myth::Shutdown ( int  Retcode,
bool  Restart 
)
staticslot

Definition at line 1279 of file v2myth.cpp.

◆ Proxy

QString V2Myth::Proxy ( const QString &  Url)
staticslot

Definition at line 1294 of file v2myth.cpp.


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