MythTV
master
|
#include <libmythbase/hardwareprofile.h>
Public Member Functions | |
HardwareProfile () | |
~HardwareProfile (void) override=default | |
void | Enable (void) |
void | GenerateUUIDs (void) |
QString | GetPublicUUIDFromFile (void) const |
bool | NeedsUpdate (void) const |
bool | SubmitProfile (bool updateTime=true) |
bool | DeleteProfile (void) |
QString | GetPublicUUID (void) const |
QString | GetPrivateUUID (void) const |
QDateTime | GetLastUpdate (void) const |
QString | GetProfileURL (void) const |
Static Public Member Functions | |
static void | Disable (void) |
static QString | GetPrivateUUIDFromFile (void) |
static bool | WritePrivateUUIDToFile (const QString &uuid) |
static QString | GetAdminPasswordFromFile (void) |
static QString | GetHardwareProfile (void) |
Private Attributes | |
bool | m_enabled {false} |
QString | m_uuid |
QString | m_publicuuid |
QDateTime | m_lastUpdate |
QString | m_hardwareProfile |
Definition at line 16 of file hardwareprofile.h.
HardwareProfile::HardwareProfile | ( | ) |
Definition at line 21 of file hardwareprofile.cpp.
|
overridedefault |
void HardwareProfile::Enable | ( | void | ) |
Definition at line 40 of file hardwareprofile.cpp.
Referenced by SubmitProfile().
|
static |
Definition at line 48 of file hardwareprofile.cpp.
Referenced by DeleteProfile().
void HardwareProfile::GenerateUUIDs | ( | void | ) |
Definition at line 53 of file hardwareprofile.cpp.
Referenced by GeneralSetupWizard::loadData(), and SubmitProfile().
|
static |
Definition at line 99 of file hardwareprofile.cpp.
Referenced by GenerateUUIDs().
|
static |
Definition at line 159 of file hardwareprofile.cpp.
Referenced by GenerateUUIDs().
QString HardwareProfile::GetPublicUUIDFromFile | ( | void | ) | const |
Definition at line 115 of file hardwareprofile.cpp.
Referenced by GenerateUUIDs().
|
static |
Definition at line 140 of file hardwareprofile.cpp.
Referenced by GeneralSetupWizard::loadData(), and GeneralSetupWizard::OnSubmitPromptReturn().
bool HardwareProfile::NeedsUpdate | ( | void | ) | const |
Definition at line 173 of file hardwareprofile.cpp.
Definition at line 188 of file hardwareprofile.cpp.
Referenced by HardwareProfileTask::DoRun(), and GeneralSetupWizard::OnSubmitPromptReturn().
bool HardwareProfile::DeleteProfile | ( | void | ) |
Definition at line 227 of file hardwareprofile.cpp.
Referenced by GeneralSetupWizard::OnDeletePromptReturn().
|
inline |
Definition at line 38 of file hardwareprofile.h.
Referenced by SubmitProfile().
|
inline |
Definition at line 39 of file hardwareprofile.h.
Referenced by SubmitProfile().
|
inline |
Definition at line 40 of file hardwareprofile.h.
QString HardwareProfile::GetProfileURL | ( | void | ) | const |
Definition at line 251 of file hardwareprofile.cpp.
Referenced by GeneralSetupWizard::loadData(), GeneralSetupWizard::OnSubmitPromptReturn(), and GeneralSetupWizard::slotView().
|
static |
Definition at line 263 of file hardwareprofile.cpp.
Referenced by V2Myth::ProfileText().
Definition at line 45 of file hardwareprofile.h.
Referenced by HardwareProfile(), and SubmitProfile().
|
private |
Definition at line 46 of file hardwareprofile.h.
Referenced by DeleteProfile(), Enable(), GenerateUUIDs(), GetPublicUUIDFromFile(), HardwareProfile(), NeedsUpdate(), and SubmitProfile().
|
private |
Definition at line 47 of file hardwareprofile.h.
Referenced by GenerateUUIDs(), GetProfileURL(), and HardwareProfile().
|
private |
Definition at line 48 of file hardwareprofile.h.
Referenced by HardwareProfile(), and NeedsUpdate().
|
private |
Definition at line 49 of file hardwareprofile.h.
Referenced by GenerateUUIDs(), and SubmitProfile().