Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CSettingControlButton Class Reference

#include <SettingControl.h>

Inheritance diagram for CSettingControlButton:
ISettingControl

Public Member Functions

 CSettingControlButton ()=default
 
 ~CSettingControlButton () override=default
 
std::string GetType () const override
 
bool Deserialize (const TiXmlNode *node, bool update=false) override
 
bool SetFormat (const std::string &format) override
 
int GetHeading () const
 
void SetHeading (int heading)
 
bool HideValue () const
 
void SetHideValue (bool hideValue)
 
bool ShowAddonDetails () const
 
void SetShowAddonDetails (bool showAddonDetails)
 
bool ShowInstalledAddons () const
 
void SetShowInstalledAddons (bool showInstalledAddons)
 
bool ShowInstallableAddons () const
 
void SetShowInstallableAddons (bool showInstallableAddons)
 
bool ShowMoreAddons () const
 
void SetShowMoreAddons (bool showMoreAddons)
 
bool UseImageThumbs () const
 
void SetUseImageThumbs (bool useImageThumbs)
 
bool UseFileDirectories () const
 
void SetUseFileDirectories (bool useFileDirectories)
 
bool HasActionData () const
 
const std::string & GetActionData () const
 
void SetActionData (const std::string &actionData)
 
bool CloseDialog () const
 
void SetCloseDialog (bool closeDialog)
 
- Public Member Functions inherited from ISettingControl
 ISettingControl ()
 
virtual ~ISettingControl ()=default
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 

Protected Attributes

int m_heading = -1
 
bool m_hideValue = false
 
bool m_showAddonDetails = true
 
bool m_showInstalledAddons = true
 
bool m_showInstallableAddons = false
 
bool m_showMoreAddons = true
 
bool m_useImageThumbs = false
 
bool m_useFileDirectories = false
 
std::string m_actionData
 
bool m_closeDialog = false
 
- Protected Attributes inherited from ISettingControl
bool m_delayed = false
 
std::string m_format
 

Additional Inherited Members

- Static Protected Attributes inherited from ISettingControl
static Logger s_logger
 

Constructor & Destructor Documentation

◆ CSettingControlButton()

CSettingControlButton::CSettingControlButton ( )
default

◆ ~CSettingControlButton()

CSettingControlButton::~CSettingControlButton ( )
overridedefault

Member Function Documentation

◆ CloseDialog()

bool CSettingControlButton::CloseDialog ( ) const
inline

◆ Deserialize()

bool CSettingControlButton::Deserialize ( const TiXmlNode * node,
bool update = false )
overridevirtual

Reimplemented from ISettingControl.

◆ GetActionData()

const std::string & CSettingControlButton::GetActionData ( ) const
inline

◆ GetHeading()

int CSettingControlButton::GetHeading ( ) const
inline

◆ GetType()

std::string CSettingControlButton::GetType ( ) const
inlineoverridevirtual

Implements ISettingControl.

◆ HasActionData()

bool CSettingControlButton::HasActionData ( ) const
inline

◆ HideValue()

bool CSettingControlButton::HideValue ( ) const
inline

◆ SetActionData()

void CSettingControlButton::SetActionData ( const std::string & actionData)
inline

◆ SetCloseDialog()

void CSettingControlButton::SetCloseDialog ( bool closeDialog)
inline

◆ SetFormat()

bool CSettingControlButton::SetFormat ( const std::string & format)
overridevirtual

Reimplemented from ISettingControl.

◆ SetHeading()

void CSettingControlButton::SetHeading ( int heading)
inline

◆ SetHideValue()

void CSettingControlButton::SetHideValue ( bool hideValue)
inline

◆ SetShowAddonDetails()

void CSettingControlButton::SetShowAddonDetails ( bool showAddonDetails)
inline

◆ SetShowInstallableAddons()

void CSettingControlButton::SetShowInstallableAddons ( bool showInstallableAddons)
inline

◆ SetShowInstalledAddons()

void CSettingControlButton::SetShowInstalledAddons ( bool showInstalledAddons)
inline

◆ SetShowMoreAddons()

void CSettingControlButton::SetShowMoreAddons ( bool showMoreAddons)
inline

◆ SetUseFileDirectories()

void CSettingControlButton::SetUseFileDirectories ( bool useFileDirectories)
inline

◆ SetUseImageThumbs()

void CSettingControlButton::SetUseImageThumbs ( bool useImageThumbs)
inline

◆ ShowAddonDetails()

bool CSettingControlButton::ShowAddonDetails ( ) const
inline

◆ ShowInstallableAddons()

bool CSettingControlButton::ShowInstallableAddons ( ) const
inline

◆ ShowInstalledAddons()

bool CSettingControlButton::ShowInstalledAddons ( ) const
inline

◆ ShowMoreAddons()

bool CSettingControlButton::ShowMoreAddons ( ) const
inline

◆ UseFileDirectories()

bool CSettingControlButton::UseFileDirectories ( ) const
inline

◆ UseImageThumbs()

bool CSettingControlButton::UseImageThumbs ( ) const
inline

Member Data Documentation

◆ m_actionData

std::string CSettingControlButton::m_actionData
protected

◆ m_closeDialog

bool CSettingControlButton::m_closeDialog = false
protected

◆ m_heading

int CSettingControlButton::m_heading = -1
protected

◆ m_hideValue

bool CSettingControlButton::m_hideValue = false
protected

◆ m_showAddonDetails

bool CSettingControlButton::m_showAddonDetails = true
protected

◆ m_showInstallableAddons

bool CSettingControlButton::m_showInstallableAddons = false
protected

◆ m_showInstalledAddons

bool CSettingControlButton::m_showInstalledAddons = true
protected

◆ m_showMoreAddons

bool CSettingControlButton::m_showMoreAddons = true
protected

◆ m_useFileDirectories

bool CSettingControlButton::m_useFileDirectories = false
protected

◆ m_useImageThumbs

bool CSettingControlButton::m_useImageThumbs = false
protected

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