Constructs instance of DPrefHandler. pName is later used as directory name in OS user preferences directory.
Create new preference or overwrite an existing one.
Get path of the config directory
Get actual value of preference specified by provided name. Throws DPrefException if preference with provided name does not exist.
Get default value of preference specified by provided name. Throws DPrefException if preference with provided name does not exist.
Get iniital value of preference specified by provided name. Throws DPrefException if preference with provided name does not exist.
Fill actual and initial values of all existing preferences, as well as create new preferences with initial == existing == default values, from config file, that is stored in OS user preferences directory.
Get name of the preference handler (used as name of the config directory)
Set name of the preference handler (used as name of the config directory)
Revert actual value to default one for the preference specified by provided name. Throws DPrefException if preference with provided name does not exist.
Revert actual value to initial one for the preference specified by provided name. Throws DPrefException if preference with provided name does not exist.
Revert actual values of all preferences to default values.
Revert actual values of all preferences to initial values.
Save actual values of all preferences to config file, that is stored in OS user preferences directory.
Set provided value as actual value of preference specified by provided name. Throws DPrefException if preference with provided name does not exist.
Collection of preferences, addressed by names, each containing actual value, initial value and default value.