KConfig* API overhaul. only cosmetics, so don't panic.

Authored by ossi on Oct 24 2007, 1:08 PM.

Description

KConfig* API overhaul. only cosmetics, so don't panic.

KConfigBase:

  • remove separator argument from list entry reading/writing functions
  • introduce {read,write}XdgListEntry()
  • kill readPathListEntry(), add readPathEntry() overload instead. the default value is not optional any more, as it defines the return type. this is consistent with the readEntry() functions.
  • rename clean() => markAsClean(), remove rollback()
  • rename ConfigState => AccessMode, getConfigState() => accessMode()
  • rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
  • remove NLS alias to Localized

KConfig:

  • remove setGroup() & group()
  • reshuffle OpenFlag enum, introduce NoCascade for symmetry
  • remove setExtraConfigFiles() alias to addConfigSources()

KConfigGroup:

  • inherit KConfigBase::deleteGroup() overloads
  • make convertToQVariant() private, it will probably change somehow
  • KConfig & KConfigGroup: deprecate entryMap()
  • remove bogus declarations: KConfigGroup::setReadDefaults(), KConfig::readEntryUntranslated()
  • apidox
  • reshuffle the declarations in the headers

svn path=/trunk/KDE/kdepimlibs/; revision=728852

Details

Committed
ossiOct 24 2007, 1:08 PM
Parents
R172:c0149fa17dc1: job is always non-NULL, otherwise it would crash a line below (CID 4241)
Branches
Unknown
Tags
Unknown