ICF 3.1.1.10
Technical documentation of ICF Libraries
ibase::CApplicationSettingsProviderComp Class Reference

An application settings provider component. More...

#include <CApplicationSettingsProviderComp.h>

Inheritance diagram for ibase::CApplicationSettingsProviderComp:
Collaboration diagram for ibase::CApplicationSettingsProviderComp:

Public Types

typedef icomp::CComponentBase BaseClass
 

Public Member Functions

QSettings & GetSettings () const override
 Get the instance of the Qt settings.
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context.
 
 CComponentBase (const CComponentBase &)=delete
 
CComponentBaseoperator= (const CComponentBase &)=delete
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component.
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface.
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry.
 
virtual void SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component.
 
- Public Member Functions inherited from icomp::IComponent
- Public Member Functions inherited from ibase::ISettingsProvider

Protected Member Functions

void OnComponentCreated () override
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active.
 
virtual void OnComponentDestroyed ()
 
virtual const IRealComponentStaticInfoGetComponentStaticInfo () const =0
 Get access to static info of this component.
 

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const IRealComponentStaticInfoInitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 

Detailed Description

An application settings provider component.

This component provides access to the application's specific settings object.

Definition at line 24 of file CApplicationSettingsProviderComp.h.

Member Typedef Documentation

◆ BaseClass

Member Function Documentation

◆ GetSettings()

QSettings & ibase::CApplicationSettingsProviderComp::GetSettings ( ) const
overridevirtual

Get the instance of the Qt settings.

Implements ibase::ISettingsProvider.

◆ OnComponentCreated()

void ibase::CApplicationSettingsProviderComp::OnComponentCreated ( )
overrideprotectedvirtual

Reimplemented from icomp::CComponentBase.


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

© Witold Gantzke and Kirill Lepskiy