class KConfigBaseabstract |
|
\class KConfigBase kconfigbase.h |
|
|
Returns the access mode of the app-config object.
Possible return values are NoAccess (the application-specific config file could not be opened neither read-write nor read-only), ReadOnly (the application-specific config file is opened read-only, but not read-write) and ReadWrite (the application-specific config file is opened read-write). Returns the access mode of the app-config object |
|
Delete aGroup. This marks aGroup as deleted in the config object. This effectively removes any cascaded values from config files earlier in the stack. |
|
|
|
|
Returns an object for the named subgroup.
group - the group to open. Pass a null string on to the KConfig object to obtain a handle on the root group. Returns The list of groups. |
|
|
|
|
|
|
|
|
Returns a list of groups that are known about.
Returns The list of groups. |
|
Returns true if the specified group is known about.
group - The group to search for. Returns true if the group exists. |
|
|
|
|
Can changes be made to the entries in aGroup?
aGroup - The group to check for immutability. Returns false if the entries in aGroup can be modified. |
|
|
|
|
Checks whether this configuration object can be modified. Returns whether changes may be made to this configuration object. |
|
Reset the dirty flags of all entries in the entry map, so the values will not be written to disk on a later call to sync(). |
|
Syncs the configuration object that this group belongs to. Unrelated concurrent changes to the same file are merged and thus not overwritten. Note however, that this object is not automatically updated with those changes. |
|
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility. Unused in this class. |
Possible return values for accessMode().
NoAccess | - | - | ||
ReadOnly | - | - | ||
ReadWrite | - | - |
Flags to control write entry
Persistent | - 0x01 | - | ||
Global | - 0x02 | - | ||
Localized | - 0x04 | - | ||
Normal | - Persistent | - |