LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
vcl::SettingsConfigItem Class Referencefinal

#include <configsettings.hxx>

Inheritance diagram for vcl::SettingsConfigItem:
[legend]
Collaboration diagram for vcl::SettingsConfigItem:
[legend]

Public Member Functions

virtual ~SettingsConfigItem () override
 
OUString getValue (const OUString &rGroup, const OUString &rKey) const
 
void setValue (const OUString &rGroup, const OUString &rKey, const OUString &rValue)
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Static Public Member Functions

static SettingsConfigItemget ()
 

Private Member Functions

virtual void Notify (const css::uno::Sequence< OUString > &rPropertyNames) override
 
void getValues ()
 
 SettingsConfigItem ()
 
virtual void ImplCommit () override
 

Private Attributes

std::unordered_map< OUString, SmallOUStrMapm_aSettings
 

Additional Inherited Members

- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (const OUString &rSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 

Detailed Description

Definition at line 38 of file configsettings.hxx.

Constructor & Destructor Documentation

SettingsConfigItem::SettingsConfigItem ( )
private

Definition at line 47 of file configsettings.cxx.

References getValues(), and NONE.

SettingsConfigItem::~SettingsConfigItem ( )
overridevirtual

Definition at line 54 of file configsettings.cxx.

References utl::ConfigItem::IsModified().

Member Function Documentation

SettingsConfigItem * SettingsConfigItem::get ( )
static
OUString SettingsConfigItem::getValue ( const OUString &  rGroup,
const OUString &  rKey 
) const

Definition at line 117 of file configsettings.cxx.

References group, and m_aSettings.

Referenced by vcl::PrintDialog::PrintDialog(), and vcl::PrintDialog::readFromSettings().

void SettingsConfigItem::getValues ( )
private
void SettingsConfigItem::ImplCommit ( )
overrideprivatevirtual
void SettingsConfigItem::Notify ( const css::uno::Sequence< OUString > &  rPropertyNames)
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 80 of file configsettings.cxx.

References getValues().

void SettingsConfigItem::setValue ( const OUString &  rGroup,
const OUString &  rKey,
const OUString &  rValue 
)

Member Data Documentation

std::unordered_map< OUString, SmallOUStrMap > vcl::SettingsConfigItem::m_aSettings
private

Definition at line 41 of file configsettings.hxx.

Referenced by getValue(), getValues(), ImplCommit(), and setValue().


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