OpenMW
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
CSVSettings::ProxyBlock Class Reference

#include <proxyblock.hpp>

List of all members.

Public Member Functions

 ProxyBlock (QWidget *parent=0)
 ProxyBlock (ItemBlock *proxyItemBlock, QWidget *parent=0)
void addSetting (ItemBlock *settingBlock, QStringList *proxyList)
 Add a block that contains a proxied setting to the proxy block.
int build (GroupBlockDef *def)
 build the gorup block based on passed definition
CSMSettings::SettingListgetSettings ()
 retrieve setting list local to the group block
bool updateSettings (const CSMSettings::SettingMap &settings)
 Update settings local to the proxy block pushed from application level.
bool updateBySignal (const QString &name, const QString &value, bool &doEmit)
 callback function triggered when update to the application level is signaled.

Private Slots

void slotUpdateProxySetting (const QString &name, const QString &value)

Private Member Functions

ItemBlockgetProxiedItemBlock (const QString &name)
 return the item block of a proxied setting
bool updateByProxiedSettings (const CSMSettings::SettingMap *settings=0)
 update the proxy setting with data from the proxied settings
bool updateProxiedSettings ()
 update proxied settings with data from the proxy setting

Private Attributes

ItemBlockList mProxiedItemBlockList
 TODO: Combine mProxyItemBlockList and mProxyList.
ProxyList mProxyList
QStringList * mValueList

Constructor & Destructor Documentation

CSVSettings::ProxyBlock::ProxyBlock ( QWidget *  parent = 0) [explicit]
CSVSettings::ProxyBlock::ProxyBlock ( ItemBlock proxyItemBlock,
QWidget *  parent = 0 
) [explicit]

Member Function Documentation

void CSVSettings::ProxyBlock::addSetting ( ItemBlock settingBlock,
QStringList *  proxyList 
)

Add a block that contains a proxied setting to the proxy block.

build the gorup block based on passed definition

Reimplemented from CSVSettings::GroupBlock.

return the item block of a proxied setting

retrieve setting list local to the group block

Reimplemented from CSVSettings::GroupBlock.

void CSVSettings::ProxyBlock::slotUpdateProxySetting ( const QString &  name,
const QString &  value 
) [private, slot]

update the proxy setting with data from the proxied settings

bool CSVSettings::ProxyBlock::updateBySignal ( const QString &  name,
const QString &  value,
bool &  doEmit 
) [virtual]

callback function triggered when update to the application level is signaled.

Reimplemented from CSVSettings::AbstractBlock.

update proxied settings with data from the proxy setting

Update settings local to the proxy block pushed from application level.

Reimplemented from CSVSettings::GroupBlock.


Member Data Documentation

TODO: Combine mProxyItemBlockList and mProxyList.

QStringList* CSVSettings::ProxyBlock::mValueList [private]

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