digiKam
|
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) |
#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) |