digiKam
drawdecoding.cpp File Reference

Namespaces

 Digikam
 

Macros

#define AddParameter(name)   action.addParameter(prefix + QLatin1String(#name), settings.name)
 
#define AddParameterEnum(name)   action.addParameter(prefix + QLatin1String(#name), static_cast<int>(settings.name))
 
#define AddParameterIfNotDefault(name)   AddParameterIfNotDefaultWithValue(name, name)
 
#define AddParameterIfNotDefaultEnum(name)   AddParameterIfNotDefaultEnumWithValue(name, name)
 
#define AddParameterIfNotDefaultEnumWithValue(name, value)    addParameterIfNotDefault<int>(prefix + QLatin1String(#name), settings.value, defaultSettings.value)
 
#define AddParameterIfNotDefaultWithValue(name, value)    addParameterIfNotDefault(prefix + QLatin1String(#name), settings.value, defaultSettings.value)
 
#define ReadParameter(name)   ReadParameterWithValue(name, name)
 
#define ReadParameterEnum(name)   ReadParameterEnumWithValue(name, name)
 
#define ReadParameterEnumWithValue(name, value)    readParameter(prefix + QLatin1String(#name), settings.value, static_cast<int>(settings.value))
 
#define ReadParameterWithValue(name, value)    settings.value = action.parameter(prefix + QLatin1String(#name), settings.value)
 

Macro Definition Documentation

◆ AddParameter

#define AddParameter (   name)    action.addParameter(prefix + QLatin1String(#name), settings.name)

◆ AddParameterEnum

#define AddParameterEnum (   name)    action.addParameter(prefix + QLatin1String(#name), static_cast<int>(settings.name))

◆ AddParameterIfNotDefault

#define AddParameterIfNotDefault (   name)    AddParameterIfNotDefaultWithValue(name, name)

◆ AddParameterIfNotDefaultEnum

#define AddParameterIfNotDefaultEnum (   name)    AddParameterIfNotDefaultEnumWithValue(name, name)

◆ AddParameterIfNotDefaultEnumWithValue

#define AddParameterIfNotDefaultEnumWithValue (   name,
  value 
)     addParameterIfNotDefault<int>(prefix + QLatin1String(#name), settings.value, defaultSettings.value)

◆ AddParameterIfNotDefaultWithValue

#define AddParameterIfNotDefaultWithValue (   name,
  value 
)     addParameterIfNotDefault(prefix + QLatin1String(#name), settings.value, defaultSettings.value)

◆ ReadParameter

#define ReadParameter (   name)    ReadParameterWithValue(name, name)

◆ ReadParameterEnum

#define ReadParameterEnum (   name)    ReadParameterEnumWithValue(name, name)

◆ ReadParameterEnumWithValue

#define ReadParameterEnumWithValue (   name,
  value 
)     readParameter(prefix + QLatin1String(#name), settings.value, static_cast<int>(settings.value))

◆ ReadParameterWithValue

#define ReadParameterWithValue (   name,
  value 
)     settings.value = action.parameter(prefix + QLatin1String(#name), settings.value)