KConfig* API overhaul. only cosmetics, so don't panic.
author Oswald Buddenhagen
()
committer Oswald Buddenhagen
()
commit 89c2423fae496723aa385f1f91f754fae0d2da90
tree e2c86cac2243a3543074fafd30473fb68753cb76
parent 2291ebea17cfb9ccf34edb404720e43889cc576f
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/kdebase/runtime/; revision=728852
28 files changed:
drkonqi/krashconf.cpp
kcontrol/kded/kcmkded.cpp
kcontrol/knotify/knotify.cpp
kcontrol/locale/kcmlocale.cpp
kcontrol/locale/toplevel.cpp
kdebugdialog/kabstractdebugdialog.cpp
kdebugdialog/main.cpp
keditfiletype/typeslistitem.cpp
khelpcenter/docentry.cpp
khelpcenter/glossary.cpp
khelpcenter/htmlsearch.cpp
khelpcenter/htmlsearch/kcmhtmlsearch.cpp
khelpcenter/htmlsearchconfig.cpp
khelpcenter/mainwindow.cpp
khelpcenter/plugintraverser.cpp
khelpcenter/searchengine.cpp
kioslave/cgi/kcmcgi/kcmcgi.cpp
kioslave/smb/kio_smb_config.cpp
kioslave/trash/trashimpl.cpp
knetattach/knetattach.cpp
knotify/knotifyconfig.cpp
knotify/notifybysound.cpp
kreadconfig/kreadconfig.cpp
kreadconfig/kwriteconfig.cpp
kurifilter-plugins/ikws/ikwsopts.cpp
kurifilter-plugins/ikws/kuriikwsfiltereng.cpp
kurifilter-plugins/shorturi/kshorturifilter.cpp
kwalletd/kwalletd.cpp