From kde-commits Fri Mar 28 20:10:59 2008 From: Sebastian =?iso-8859-1?q?Tr=FCg?= Date: Fri, 28 Mar 2008 20:10:59 +0000 To: kde-commits Subject: Re: KDE/kdelibs/kdecore/config Message-Id: <200803282110.59538.strueg () mandriva ! com> X-MARC-Message: https://marc.info/?l=kde-commits&m=120673513016185 On Friday 28 March 2008 20:30:54 Oswald Buddenhagen wrote: > On Thu, Mar 20, 2008 at 11:28:00AM +0000, Sebastian Trueg wrote: > > + * Get the default application config object via KGlobal::config() > > + * (which returns a shared config file) > > > > or > > + * by simply creating an instance of KConfig without parameters: > > + * \code > > + * KConfig config; > > + * \endcode > > + * > > why would one want to use that? How should I know? Why is it in the API then??? > > + * Load a specific configuration file: > > + * \code > > + * KConfig config( "/etc/kderc" ); > > + * \endcode > > + * > > that should be a SimpleConfig. So fix it. ;) I simply was annoyed by the missing documentation and created one based on the techbase tutorial. If that is not accurate, well, I cannot know that. Cheers, Sebastian