[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kdecore/config
From:       Sebastian =?iso-8859-1?q?Tr=FCg?= <strueg () mandriva ! com>
Date:       2008-03-28 20:10:59
Message-ID: 200803282110.59538.strueg () mandriva ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic